Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/gumstix Move definition 'void gxlcd_cnattach...



details:   https://anonhg.NetBSD.org/src/rev/d116803b33f4
branches:  trunk
changeset: 749229:d116803b33f4
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Nov 22 12:05:14 2009 +0000

description:
Move definition 'void gxlcd_cnattach(void)' to gumstixvar.h.

diffstat:

 sys/arch/evbarm/gumstix/gumstix_machdep.c |  8 ++------
 sys/arch/evbarm/gumstix/gumstixvar.h      |  8 +++++++-
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r 89eb255a57fa -r d116803b33f4 sys/arch/evbarm/gumstix/gumstix_machdep.c
--- a/sys/arch/evbarm/gumstix/gumstix_machdep.c Sun Nov 22 12:00:56 2009 +0000
+++ b/sys/arch/evbarm/gumstix/gumstix_machdep.c Sun Nov 22 12:05:14 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gumstix_machdep.c,v 1.17 2009/11/21 08:41:38 kiyohara Exp $ */
+/*     $NetBSD: gumstix_machdep.c,v 1.18 2009/11/22 12:05:14 kiyohara Exp $ */
 /*
  * Copyright (C) 2005, 2006, 2007  WIDE Project and SOUM Corporation.
  * All rights reserved.
@@ -1104,11 +1104,7 @@
 #endif /* NCOM */
 
 #if NLCD > 0
-       {
-               extern void gxlcd_cnattach(void);
-
-               gxlcd_cnattach();
-       }
+       gxlcd_cnattach();
 #endif
 }
 
diff -r 89eb255a57fa -r d116803b33f4 sys/arch/evbarm/gumstix/gumstixvar.h
--- a/sys/arch/evbarm/gumstix/gumstixvar.h      Sun Nov 22 12:00:56 2009 +0000
+++ b/sys/arch/evbarm/gumstix/gumstixvar.h      Sun Nov 22 12:05:14 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gumstixvar.h,v 1.4 2009/08/09 07:10:13 kiyohara Exp $ */
+/*     $NetBSD: gumstixvar.h,v 1.5 2009/11/22 12:05:14 kiyohara Exp $ */
 /*
  * Copyright (C) 2005, 2006 WIDE Project and SOUM Corporation.
  * All rights reserved.
@@ -80,4 +80,10 @@
 extern struct gxpcic_slot_irqs gxpcic_slot_irqs[2];
 extern int gxpcic_gpio_reset;
 
+
+/*
+ * gxlcd
+ */
+void gxlcd_cnattach(void);
+
 #endif /* _EVBARM_GUMSTIXVAR_H_ */



Home | Main Index | Thread Index | Old Index