[PATCH] mfd: pasic3 driver build error

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Russell King <rmk+kernel@...>, Philipp Zabel <philipp.zabel@...>
Cc: <linux-arm-kernel@...>, <linux-kernel@...>
Date: Wednesday, April 23, 2008 - 2:22 pm

Fix build failure on other platforms because this driver includes
registers that do not exist on other platforms.

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>

--- 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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mfd: pasic3 driver build error, Stephen Hemminger, (Wed Apr 23, 2:22 pm)
Re: [PATCH] mfd: pasic3 driver build error, pHilipp Zabel, (Wed Apr 23, 3:45 pm)