summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-26 02:38:00 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 17:39:36 -0700
commit8d25b36b77fe32c296ece83e94ca6ae4d17f3e25 (patch)
tree570d647cdbe645a4e2dece4c85019fb5effe2b9e
parente89f38218ff6de09983bd8769ec0cdf6e70d9e8e (diff)
downloadlinux-8d25b36b77fe32c296ece83e94ca6ae4d17f3e25.tar.gz
MFD_TC6393XB is ARM-only
Compile error on other architectures:

    CC      drivers/mfd/tc6393xb.o
  /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mfd/tc6393xb.c: In function ‘tc6393xb_attach_irq’:
  /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mfd/tc6393xb.c:324: error: implicit declaration of function ‘set_irq_flags’
  ...

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 1f57a99fd968..883e7ea31de2 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -52,7 +52,7 @@ config HTC_PASIC3
 
 config MFD_TC6393XB
 	bool "Support Toshiba TC6393XB"
-	depends on GPIOLIB
+	depends on GPIOLIB && ARM
 	select MFD_CORE
 	help
 	  Support for Toshiba Mobile IO Controller TC6393XB