drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Tuesday, April 22, 2008 - 12:41 am

make allyesconfig (on 64-bit x86) build fails on latest -git with the 
following message:

drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory

i suspect this driver was not supposed to be buildable on non-ARM-PXA? 
The patch below should fix this.

	Ingo

------------>
Subject: mtd: htc pasic3 build fix
From: Ingo Molnar <mingo@elte.hu>
Date: Tue Apr 22 09:24:38 CEST 2008

build fix:

  drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux/drivers/mfd/Kconfig
===================================================================
--- linux.orig/drivers/mfd/Kconfig
+++ linux/drivers/mfd/Kconfig
@@ -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:
drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h ..., Ingo Molnar, (Tue Apr 22, 12:41 am)