Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/allwinner Make this compile



details:   https://anonhg.NetBSD.org/src/rev/f5ddd7f30aee
branches:  trunk
changeset: 327027:f5ddd7f30aee
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 26 00:29:23 2014 +0000

description:
Make this compile

diffstat:

 sys/arch/arm/allwinner/awin_gige.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 6389ddd40a23 -r f5ddd7f30aee sys/arch/arm/allwinner/awin_gige.c
--- a/sys/arch/arm/allwinner/awin_gige.c        Wed Feb 26 00:20:59 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_gige.c        Wed Feb 26 00:29:23 2014 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_gige.c,v 1.3 2014/02/20 21:48:38 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_gige.c,v 1.4 2014/02/26 00:29:23 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -73,7 +73,7 @@
        KASSERT(cf->cf_loc[AWINIOCF_PORT] == AWINIOCF_PORT_DEFAULT
            || cf->cf_loc[AWINIOCF_PORT] == loc->loc_port);
 
-       if (!awin_gpio_pinset_available(&awin_gige_pinset))
+       if (!awin_gpio_pinset_available(&awin_gige_gpio_pinset))
                return 0;
 
        return 1;
@@ -88,7 +88,7 @@
 
        sc->sc_dev = self;
 
-       awin_gpio_pinset_acquire(&awin_gige_pinset);
+       awin_gpio_pinset_acquire(&awin_gige_gpio_pinset);
 
        sc->sc_bst = aio->aio_core_bst;
        sc->sc_dmat = aio->aio_dmat;



Home | Main Index | Thread Index | Old Index