Module Name: src Committed By: kiyohara Date: Sun Nov 22 12:05:14 UTC 2009
Modified Files: src/sys/arch/evbarm/gumstix: gumstix_machdep.c gumstixvar.h Log Message: Move definition 'void gxlcd_cnattach(void)' to gumstixvar.h. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/gumstix/gumstix_machdep.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/gumstix/gumstixvar.h 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/evbarm/gumstix/gumstix_machdep.c diff -u src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.17 src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.18 --- src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.17 Sat Nov 21 08:41:38 2009 +++ src/sys/arch/evbarm/gumstix/gumstix_machdep.c Sun Nov 22 12:05:14 2009 @@ -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 } Index: src/sys/arch/evbarm/gumstix/gumstixvar.h diff -u src/sys/arch/evbarm/gumstix/gumstixvar.h:1.4 src/sys/arch/evbarm/gumstix/gumstixvar.h:1.5 --- src/sys/arch/evbarm/gumstix/gumstixvar.h:1.4 Sun Aug 9 07:10:13 2009 +++ src/sys/arch/evbarm/gumstix/gumstixvar.h Sun Nov 22 12:05:14 2009 @@ -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_ */