Skip to contentSkip to conversation

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

PATCH Ingo Molnar 4 participants 4 messages Apr 22, 2008 – May 6, 2008 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
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

---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
Index: 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
#1 lore raw
Quoted 8 lines · Ingo Molnar

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.

Known issue. Thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#2 lore raw
Quoted 11 lines · Russell King
Quoted 8 lines · Ingo Molnar

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.

Known issue. Thanks.

Has it been fixed in the mainline?

Rafael

#3 lore raw
Quoted 6 lines · Rafael J. Wysocki
Quoted 5 lines · Russell King
Quoted 4 lines · Ingo Molnar

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

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

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.

Known issue. Thanks.

Has it been fixed in the mainline?

Yes:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=328d8a012583f0c25f8db25a2e5e63b521201542

Signature · 1 line
~Randy