mfd: fix asic3 build
PATCH 1/1 mfd: fix asic3 build
Commit 64e8867ba8 (mfd: tmio_mmc hardware abstraction for CNF area) missed to update Makefile rule for asic3, which leads to following error during linking:
LD .tmp_vmlinux1drivers/built-in.o: In function `asic3_mmc_clk_div':
ledtrig-backlight.c:(.text+0x3de28): undefined reference to tmio_core_mmc_clk_div' drivers/built-in.o: In function asic3_mmc_pwr':
ledtrig-backlight.c:(.text+0x3de50): undefined reference to tmio_core_mmc_pwr' drivers/built-in.o: In function asic3_mmc_enable':
ledtrig-backlight.c:(.text+0x3e154): undefined reference to `tmio_core_mmc_enable'
make: *** [.tmp_vmlinux1] Error 1
---
This is a patch for regression introduced in -rc5 (-rc4 was ok) Error above is from building kernel 2.6.33-rc5 with magician_defconfig. Sorry if this already been reported/fixed.
drivers/mfd/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mfd/Makefile +1 -1
@@ -3,7 +3,7 @@ # obj-$(CONFIG_MFD_SM501) += sm501.o -obj-$(CONFIG_MFD_ASIC3) += asic3.o +obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o obj-$(CONFIG_MFD_SH_MOBILE_SDHI) += sh_mobile_sdhi.o obj-$(CONFIG_HTC_EGPIO) += htc-egpio.o
Signature · 1 line
1.6.6
Hi Dmitry,
Quoted 11 lines · Dmitry Artamonow
Commit
64e8867ba8(mfd:tmio_mmchardware abstraction for CNF area) missed to updateMakefilerule for asic3, which leads to following error during linking:
LD .tmp_vmlinux1drivers/built-in.o: In function `asic3_mmc_clk_div':
ledtrig-backlight.c:(.text+0x3de28): undefined reference totmio_core_mmc_clk_div' drivers/built-in.o: In functionasic3_mmc_pwr':
ledtrig-backlight.c:(.text+0x3de50): undefined reference totmio_core_mmc_pwr' drivers/built-in.o: In functionasic3_mmc_enable':
ledtrig-backlight.c:(.text+0x3e154): undefined reference to `tmio_core_mmc_enable'
make: *** [.tmp_vmlinux1] Error 1
Thanks a lot, patch applied. I will ask Linus to pull it in a couple days or so.
Cheers,
Samuel.
Quoted 25 lines
Signed-off-by Dmitry Artamonow <[email protected]>---
This is a patch for regression introduced in -rc5 (-rc4 was ok) Error above is from building kernel 2.6.33-rc5 withmagician_defconfig. Sorry if this already been reported/fixed.drivers/mfd/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)drivers/mfd/Makefile +1
-1@@ -3,7 +3,7 @@ # obj-$(CONFIG_MFD_SM501) += sm501.o -obj-$(CONFIG_MFD_ASIC3) += asic3.o +obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o obj-$(CONFIG_MFD_SH_MOBILE_SDHI) += sh_mobile_sdhi.o obj-$(CONFIG_HTC_EGPIO) += htc-egpio.oSignature · 1 line
1.6.6
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/