Skip to content

Commit 1c2c30a

Browse files
author
Samuel Ortiz
committed
mfd: have TMIO drivers and subdevices depend on ARM
The TMIO chips are only found (and thus tested) on ARM machines. Moreover, we don't want the TMIO cells to be built if one of the TMIO driver is not selected (which indirectly make the TMIO cells drivers depend on ARM as well). Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
1 parent 4a48998 commit 1c2c30a

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

drivers/mfd/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,31 @@ config HTC_PASIC3
5050
HTC Magician devices, respectively. Actual functionality is
5151
handled by the leds-pasic3 and ds1wm drivers.
5252

53+
config MFD_TMIO
54+
bool
55+
default n
56+
5357
config MFD_T7L66XB
5458
bool "Support Toshiba T7L66XB"
59+
depends on ARM
5560
select MFD_CORE
61+
select MFD_TMIO
5662
help
5763
Support for Toshiba Mobile IO Controller T7L66XB
5864

5965
config MFD_TC6387XB
6066
bool "Support Toshiba TC6387XB"
67+
depends on ARM
6168
select MFD_CORE
69+
select MFD_TMIO
6270
help
6371
Support for Toshiba Mobile IO Controller TC6387XB
6472

6573
config MFD_TC6393XB
6674
bool "Support Toshiba TC6393XB"
6775
depends on GPIOLIB && ARM
6876
select MFD_CORE
77+
select MFD_TMIO
6978
help
7079
Support for Toshiba Mobile IO Controller TC6393XB
7180

drivers/mmc/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ config MMC_SDRICOH_CS
176176

177177
config MMC_TMIO
178178
tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
179-
depends on MFD_CORE
179+
depends on MFD_TMIO
180180
help
181181
This provides support for the SD/MMC cell found in TC6393XB,
182182
T7L66XB and also ipaq ASIC3

drivers/mtd/nand/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ config MTD_NAND_PASEMI
353353

354354
config MTD_NAND_TMIO
355355
tristate "NAND Flash device on Toshiba Mobile IO Controller"
356-
depends on MTD_NAND && MFD_CORE
356+
depends on MTD_NAND && MFD_TMIO
357357
help
358358
Support for NAND flash connected to a Toshiba Mobile IO
359359
Controller in some PDAs, including the Sharp SL6000x.

0 commit comments

Comments
 (0)