Messages in this thread Patch in this message |  | | | Date | Tue, 22 Apr 2008 09:41:24 +0200 | | From | Ingo Molnar <> | | Subject | drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory |
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
|  |