On Tuesday 20 September 2011 23:46:11 Arnd Bergmann wrote: > It seems that you replace the #ifdef in the board-flash.c file > with a similar #ifdef in the header that replaces this with an > empty inline function when the object is not built. Found another similar problem over night, presumably in the voltage series: arch/arm/mach-omap2/built-in.o: In function `pwrdm_register_pwrdms': twl-common.c:(.text+0x5e20): undefined reference to `voltdm_lookup' twl-common.c:(.text+0x5e40): undefined reference to `voltdm_add_pwrdm' arch/arm/mach-omap2/built-in.o: In function `omap2_init_common_infrastructure': twl-common.c:(.init.text+0x3a4): undefined reference to `omap2xxx_voltagedomains_init' twl-common.c:(.init.text+0x3c8): undefined reference to `omap3xxx_voltagedomains_init' arch/arm/mach-omap2/built-in.o: In function `omap2_set_init_voltage': twl-common.c:(.init.text+0x13c8): undefined reference to `voltdm_lookup' arch/arm/mach-omap2/built-in.o: In function `omap3_twl_init': twl-common.c:(.init.text+0x1f44): undefined reference to `voltdm_lookup' twl-common.c:(.init.text+0x1f4c): undefined reference to `voltdm_lookup' Arnd -- 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