MFD_TC6393XB is ARM-only
authorAdrian Bunk <bunk@kernel.org>
Fri, 25 Jul 2008 23:38:00 +0000 (02:38 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 00:39:36 +0000 (17:39 -0700)
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>
drivers/mfd/Kconfig

index 1f57a99fd968b9c4802d8669b5ff5aba5c8b5500..883e7ea31de20af9d32df5cc6a09ff1d7c6041fd 100644 (file)
@@ -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