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 fix the build



details:   https://anonhg.NetBSD.org/src/rev/d31098d4bf61
branches:  trunk
changeset: 773519:d31098d4bf61
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 04 18:50:42 2012 +0000

description:
fix the build

diffstat:

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

diffs (29 lines):

diff -r 1913344c2561 -r d31098d4bf61 sys/arch/arm/s3c2xx0/sscom.c
--- a/sys/arch/arm/s3c2xx0/sscom.c      Sat Feb 04 18:39:21 2012 +0000
+++ b/sys/arch/arm/s3c2xx0/sscom.c      Sat Feb 04 18:50:42 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sscom.c,v 1.35 2012/02/02 19:42:58 tls Exp $ */
+/*     $NetBSD: sscom.c,v 1.36 2012/02/04 18:50:42 christos Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Fujitsu Component Limited
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.35 2012/02/02 19:42:58 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sscom.c,v 1.36 2012/02/04 18:50:42 christos Exp $");
 
 #include "opt_sscom.h"
 #include "opt_ddb.h"
@@ -494,8 +494,10 @@
 
        sc->sc_si = softint_establish(SOFTINT_SERIAL, sscomsoft, sc);
 
+#ifdef RND_COM
        rnd_attach_source(&sc->rnd_source, sc->sc_dev.dv_xname,
                          RND_TYPE_TTY, 0);
+#endif
 
        /* if there are no enable/disable functions, assume the device
           is always enabled */



Home | Main Index | Thread Index | Old Index