2.6.23-git2 buid failure
Hi,
The 2.6.23-git2 build fails with build error
CC [M] drivers/mmc/core/core.o CC [M] drivers/mmc/core/sysfs.o CC [M] drivers/mmc/core/bus.o CC [M] drivers/mmc/core/host.o
drivers/mmc/core/host.c: In function ‘mmc_remove_host’:drivers/mmc/core/host.c:146: error: implicit declaration of function ‘led_trigger_unregister’ drivers/mmc/core/host.c:146: error: ‘struct mmc_host’ has no member named ‘led’ make[3]: *** [drivers/mmc/core/host.o] Error 1
make[2]: *** [drivers/mmc/core] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
Signature · 4 lines
Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.
Quoted 8 lines · Kamalesh Babulal
Hi,
The 2.6.23-git2 build fails with build error
CC [M] drivers/mmc/core/core.o CC [M] drivers/mmc/core/sysfs.o CC [M] drivers/mmc/core/bus.o CC [M] drivers/mmc/core/host.o
Quoted 8 lines
drivers/mmc/core/host.c: In function ‘mmc_remove_host’:drivers/mmc/core/host.c:146: error: implicit declaration of function ‘led_trigger_unregister’drivers/mmc/core/host.c:146: error: ‘struct mmc_host’ has no member named ‘led’ make[3]: *** [drivers/mmc/core/host.o] Error 1
make[2]: *** [drivers/mmc/core] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
You can fix it using this patch: http://lkml.org/lkml/2007/10/12/380
Or the patch titled: mmc-fix-compile-without-led-triggers.patch
Regards,
Signature · 3 lines
Ahmed S. Darwish HomePage: http://darwish.07.googlepages.com Blog: http://darwish-07.blogspot.com