diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-02-23 04:37:55 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-09 16:39:08 -0500 |
commit | 5e8afa34cc4ab2cea3472b80317a929b83b3c65b (patch) | |
tree | e6463052677fba6fbe1073e781efede5857981cf /drivers/spi | |
parent | eb4af0f5349235df2e4a5057a72fc8962d00308a (diff) |
spi: controller drivers don't need to depend on SPI_MASTER explicitly
They are all defined in an if SPI_MASTER ... endif block.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/Kconfig | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index e2083f6d202..566ff7bb49b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -126,7 +126,7 @@ config SPI_COLDFIRE_QSPI | |||
126 | 126 | ||
127 | config SPI_DAVINCI | 127 | config SPI_DAVINCI |
128 | tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" | 128 | tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" |
129 | depends on SPI_MASTER && ARCH_DAVINCI | 129 | depends on ARCH_DAVINCI |
130 | select SPI_BITBANG | 130 | select SPI_BITBANG |
131 | help | 131 | help |
132 | SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. | 132 | SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. |
@@ -188,7 +188,7 @@ config SPI_MPC52xx_PSC | |||
188 | 188 | ||
189 | config SPI_MPC512x_PSC | 189 | config SPI_MPC512x_PSC |
190 | tristate "Freescale MPC512x PSC SPI controller" | 190 | tristate "Freescale MPC512x PSC SPI controller" |
191 | depends on SPI_MASTER && PPC_MPC512x | 191 | depends on PPC_MPC512x |
192 | help | 192 | help |
193 | This enables using the Freescale MPC5121 Programmable Serial | 193 | This enables using the Freescale MPC5121 Programmable Serial |
194 | Controller in SPI master mode. | 194 | Controller in SPI master mode. |
@@ -238,7 +238,7 @@ config SPI_OMAP24XX | |||
238 | 238 | ||
239 | config SPI_OMAP_100K | 239 | config SPI_OMAP_100K |
240 | tristate "OMAP SPI 100K" | 240 | tristate "OMAP SPI 100K" |
241 | depends on SPI_MASTER && (ARCH_OMAP850 || ARCH_OMAP730) | 241 | depends on ARCH_OMAP850 || ARCH_OMAP730 |
242 | help | 242 | help |
243 | OMAP SPI 100K master controller for omap7xx boards. | 243 | OMAP SPI 100K master controller for omap7xx boards. |
244 | 244 | ||
@@ -262,7 +262,7 @@ config SPI_PL022 | |||
262 | 262 | ||
263 | config SPI_PPC4xx | 263 | config SPI_PPC4xx |
264 | tristate "PPC4xx SPI Controller" | 264 | tristate "PPC4xx SPI Controller" |
265 | depends on PPC32 && 4xx && SPI_MASTER | 265 | depends on PPC32 && 4xx |
266 | select SPI_BITBANG | 266 | select SPI_BITBANG |
267 | help | 267 | help |
268 | This selects a driver for the PPC4xx SPI Controller. | 268 | This selects a driver for the PPC4xx SPI Controller. |
@@ -338,7 +338,7 @@ config SPI_SH_HSPI | |||
338 | 338 | ||
339 | config SPI_STMP3XXX | 339 | config SPI_STMP3XXX |
340 | tristate "Freescale STMP37xx/378x SPI/SSP controller" | 340 | tristate "Freescale STMP37xx/378x SPI/SSP controller" |
341 | depends on ARCH_STMP3XXX && SPI_MASTER | 341 | depends on ARCH_STMP3XXX |
342 | help | 342 | help |
343 | SPI driver for Freescale STMP37xx/378x SoC SSP interface | 343 | SPI driver for Freescale STMP37xx/378x SoC SSP interface |
344 | 344 | ||
@@ -396,7 +396,6 @@ config SPI_NUC900 | |||
396 | 396 | ||
397 | config SPI_DESIGNWARE | 397 | config SPI_DESIGNWARE |
398 | tristate "DesignWare SPI controller core support" | 398 | tristate "DesignWare SPI controller core support" |
399 | depends on SPI_MASTER | ||
400 | help | 399 | help |
401 | general driver for SPI controller core from DesignWare | 400 | general driver for SPI controller core from DesignWare |
402 | 401 | ||