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

From: Ingo Molnar
Date: Tue Apr 22 2008 - 03:41:49 EST



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@xxxxxxx>
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@xxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/