I'm not sure if this has been reported before. I just tried compiling mainline for the beagleboard and got this error. - Anand CC arch/arm/mach-omap2/board-omap3beagle.o arch/arm/mach-omap2/board-omap3beagle.c: In function 'beagle_twl_gpio_setup': arch/arm/mach-omap2/board-omap3beagle.c:132: error: 'TWL4030_GPIO_MAX' undeclared (first use in this function) arch/arm/mach-omap2/board-omap3beagle.c:132: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/board-omap3beagle.c:132: error: for each function it appears in.) arch/arm/mach-omap2/board-omap3beagle.c: At top level: arch/arm/mach-omap2/board-omap3beagle.c:141: error: variable 'beagle_gpio_data' has initializer but incomplete type arch/arm/mach-omap2/board-omap3beagle.c:142: error: unknown field 'gpio_base' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:142: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:142: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:143: error: unknown field 'irq_base' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:143: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:143: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:144: error: unknown field 'irq_end' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:144: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:144: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:145: error: unknown field 'use_leds' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:145: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:145: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:146: error: unknown field 'pullups' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:146: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:146: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:147: error: unknown field 'pulldowns' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:148: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:148: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:149: error: unknown field 'setup' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:149: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:149: warning: (near initialization for 'beagle_gpio_data') arch/arm/mach-omap2/board-omap3beagle.c:152: error: variable 'beagle_twldata' has initializer but incomplete type arch/arm/mach-omap2/board-omap3beagle.c:153: error: unknown field 'irq_base' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:153: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:153: warning: (near initialization for 'beagle_twldata') arch/arm/mach-omap2/board-omap3beagle.c:154: error: unknown field 'irq_end' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:154: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:154: warning: (near initialization for 'beagle_twldata') arch/arm/mach-omap2/board-omap3beagle.c:157: error: unknown field 'gpio' specified in initializer arch/arm/mach-omap2/board-omap3beagle.c:157: warning: excess elements in struct initializer arch/arm/mach-omap2/board-omap3beagle.c:157: warning: (near initialization for 'beagle_twldata') arch/arm/mach-omap2/board-omap3beagle.c: In function 'omap3_beagle_init': arch/arm/mach-omap2/board-omap3beagle.c:308: error: 'gpio' undeclared (first use in this function) make[1]: *** [arch/arm/mach-omap2/board-omap3beagle.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2-- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html