Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/s3c2xx0 Make this one build again.



details:   https://anonhg.NetBSD.org/src/rev/08a94436138d
branches:  trunk
changeset: 749809:08a94436138d
user:      he <he%NetBSD.org@localhost>
date:      Wed Dec 09 12:42:59 2009 +0000

description:
Make this one build again.

diffstat:

 sys/arch/arm/s3c2xx0/sscom.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 3842689d287c -r 08a94436138d sys/arch/arm/s3c2xx0/sscom.c
--- a/sys/arch/arm/s3c2xx0/sscom.c      Wed Dec 09 12:21:58 2009 +0000
+++ b/sys/arch/arm/s3c2xx0/sscom.c      Wed Dec 09 12:42:59 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sscom.c,v 1.31 2009/12/06 21:35:05 dyoung Exp $ */
+/*     $NetBSD: sscom.c,v 1.32 2009/12/09 12:42:59 he Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Fujitsu Component Limited
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.31 2009/12/06 21:35:05 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.32 2009/12/09 12:42:59 he Exp $");
 
 #include "opt_sscom.h"
 #include "opt_ddb.h"
@@ -511,6 +511,8 @@
 int
 sscom_detach(device_t self, int flags)
 {
+       struct sscom_softc *sc = device_private(self);
+
        if (sc->sc_hwflags & (SSCOM_HW_CONSOLE|SSCOM_HW_KGDB))
                return EBUSY;
 
@@ -520,7 +522,9 @@
 int
 sscom_activate(device_t self, enum devact act)
 {
+#ifdef notyet
        struct sscom_softc *sc = device_private(self);
+#endif
 
        switch (act) {
        case DVACT_DEACTIVATE:



Home | Main Index | Thread Index | Old Index