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

This commit is contained in:
kiyohara 2009-11-22 12:05:14 +00:00
parent 64ba3e027a
commit 04ffa2b739
2 changed files with 9 additions and 7 deletions

View File

@ -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 @@ consinit(void)
#endif /* NCOM */
#if NLCD > 0
{
extern void gxlcd_cnattach(void);
gxlcd_cnattach();
}
gxlcd_cnattach();
#endif
}

View File

@ -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 @@ struct gxpcic_slot_irqs {
extern struct gxpcic_slot_irqs gxpcic_slot_irqs[2];
extern int gxpcic_gpio_reset;
/*
* gxlcd
*/
void gxlcd_cnattach(void);
#endif /* _EVBARM_GUMSTIXVAR_H_ */