From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 21 Sep 2011 11:28:31 +0200 Subject: [GIT PULL] omap cleanup part1 for v3.2 merge window In-Reply-To: <201109202346.11393.arnd@arndb.de> References: <20110917014623.GC2937@atomide.com> <201109202334.43213.arnd@arndb.de> <201109202346.11393.arnd@arndb.de> Message-ID: <2241590.uiCS2D9jjt@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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