Source-Changes-HG archive

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

[src/jmcneill-audiomp3]: src/sys/dev/ofisa make this compile again. i think ...



details:   https://anonhg.NetBSD.org/src/rev/afab6eac6112
branches:  jmcneill-audiomp3
changeset: 771328:afab6eac6112
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 20 05:35:20 2011 +0000

description:
make this compile again.  i think it is even right.

diffstat:

 sys/dev/ofisa/joy_ofisa.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r c857929f1ecb -r afab6eac6112 sys/dev/ofisa/joy_ofisa.c
--- a/sys/dev/ofisa/joy_ofisa.c Sat Nov 19 23:40:07 2011 +0000
+++ b/sys/dev/ofisa/joy_ofisa.c Sun Nov 20 05:35:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: joy_ofisa.c,v 1.14.36.1 2011/11/19 21:49:40 jmcneill Exp $     */
+/*     $NetBSD: joy_ofisa.c,v 1.14.36.2 2011/11/20 05:35:20 mrg Exp $  */
 
 /*-
  * Copyright (c) 1996, 1998, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: joy_ofisa.c,v 1.14.36.1 2011/11/19 21:49:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: joy_ofisa.c,v 1.14.36.2 2011/11/20 05:35:20 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,8 +76,8 @@
 static void
 joy_ofisa_attach(device_t parent, device_t self, void *aux)
 {
-       struct joy_softc *sc = device_private(self);
-       struct joy_ofisa_softc *sc = device_private(self);
+       struct joy_ofisa_softc *osc = device_private(self);
+       struct joy_softc *sc = &osc->sc_joy;
        struct ofisa_attach_args *aa = aux;
        struct ofisa_reg_desc reg;
        char *model = NULL;



Home | Main Index | Thread Index | Old Index