mfd: pasic3 driver build error
PATCH 1/1 mfd: pasic3 driver build error
Fix build failure on other platforms because this driver includes registers that do not exist on other platforms.
drivers/mfd/Kconfig +1 -0
@@ -32,6 +32,7 @@ config HTC_EGPIO config HTC_PASIC3 tristate "HTC PASIC3 LED/DS1WM chip support" + depends on ARCH_PXA help This core driver provides register access for the LED/DS1WM chips labeled "AIC2" and "AIC3", found on HTC Blueangel and
Quoted 2 lines · Stephen Hemminger
Fix build failure on other platforms because this driver includes
registers that do not exist on other platforms.
Yeah, people[1] already[2] noticed[3]. That #include statement was left there accidentally, sorry about that. The fix[4] is in the ARM tree.
[1] http://lkml.org/lkml/2008/4/22/40
[2] http://lkml.org/lkml/2008/4/22/323
[3] http://lkml.org/lkml/2008/4/21/593
[4] http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5010/1
Quoted 13 lines
Signed-off-by Stephen Hemminger <[email protected]>--- a/drivers/mfd/Kconfig 2008-04-23 11:16:06.000000000 -0700
+++ b/drivers/mfd/Kconfig 2008-04-23 11:16:52.000000000 -0700
@@ -32,6 +32,7 @@ configHTC_EGPIOconfig
HTC_PASIC3
tristate "HTC PASIC3 LED/DS1WM chip support"
+ depends onARCH_PXA
help
This core driver provides register access for the LED/DS1WM chips labeled "AIC2" and "AIC3", found on HTC Blueangel and