Module Name: src
Committed By: christos
Date: Sat Feb 4 18:50:42 UTC 2012
Modified Files:
src/sys/arch/arm/s3c2xx0: sscom.c
Log Message:
fix the build
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/s3c2xx0/sscom.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/s3c2xx0/sscom.c
diff -u src/sys/arch/arm/s3c2xx0/sscom.c:1.35 src/sys/arch/arm/s3c2xx0/sscom.c:1.36
--- src/sys/arch/arm/s3c2xx0/sscom.c:1.35 Thu Feb 2 14:42:58 2012
+++ src/sys/arch/arm/s3c2xx0/sscom.c Sat Feb 4 13:50:42 2012
@@ -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 @@ sscom_attach_subr(struct sscom_softc *sc
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 */