mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory
@ 2008-04-22  7:41 Ingo Molnar
  2008-04-22  8:37 ` Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2008-04-22  7:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Philipp Zabel, Russell King


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-06 22:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-22  7:41 drivers/mfd/htc-pasic3.c:22:31: error: asm/arch/pxa-regs.h: No such file or directory Ingo Molnar
2008-04-22  8:37 ` Russell King
2008-05-06 22:37   ` Rafael J. Wysocki
2008-05-06 22:43     ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®