diff options
author | David Brownell <david-b@pacbell.net> | 2007-07-17 07:04:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:05 -0400 |
commit | da0abc275f029e0f52c5165de524bcf64e717703 (patch) | |
tree | e5fc22dfdb42297e37f06bd9f4ee50a36c1a5f62 | |
parent | defbd3b4bbd9d85a68529f829f4ee39899c318dc (diff) |
S3c24xx SPI controllers both select 'bitbang'
Tweak Kconfig for the S3C24XX SPI controller drivers. Both use the bitbang
framework; only one previously said that. Plus in this case "select" is
the right way to manage that dependency, since folk will not know up front
to enable bitbang in order to even see those S3C drivers in order to enable
them.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/spi/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 488b341d2af2..8ce16a0b8a50 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -154,12 +154,14 @@ config SPI_PXA2XX | |||
154 | config SPI_S3C24XX | 154 | config SPI_S3C24XX |
155 | tristate "Samsung S3C24XX series SPI" | 155 | tristate "Samsung S3C24XX series SPI" |
156 | depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTAL | 156 | depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTAL |
157 | select SPI_BITBANG | ||
157 | help | 158 | help |
158 | SPI driver for Samsung S3C24XX series ARM SoCs | 159 | SPI driver for Samsung S3C24XX series ARM SoCs |
159 | 160 | ||
160 | config SPI_S3C24XX_GPIO | 161 | config SPI_S3C24XX_GPIO |
161 | tristate "Samsung S3C24XX series SPI by GPIO" | 162 | tristate "Samsung S3C24XX series SPI by GPIO" |
162 | depends on SPI_MASTER && ARCH_S3C2410 && SPI_BITBANG && EXPERIMENTAL | 163 | depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTAL |
164 | select SPI_BITBANG | ||
163 | help | 165 | help |
164 | SPI driver for Samsung S3C24XX series ARM SoCs using | 166 | SPI driver for Samsung S3C24XX series ARM SoCs using |
165 | GPIO lines to provide the SPI bus. This can be used where | 167 | GPIO lines to provide the SPI bus. This can be used where |