Skip to contentSkip to conversation

mfd: pasic3 driver build error

PATCH In review Stephen Hemminger 2 participants 2 messages Apr 23, 2008 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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

--- 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 @@ 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