Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Brownell and committed by
Linus Torvalds
da0abc27 defbd3b4

+3 -1
+3 -1
drivers/spi/Kconfig
··· 154 154 config SPI_S3C24XX 155 155 tristate "Samsung S3C24XX series SPI" 156 156 depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTAL 157 + select SPI_BITBANG 157 158 help 158 159 SPI driver for Samsung S3C24XX series ARM SoCs 159 160 160 161 config SPI_S3C24XX_GPIO 161 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 165 help 164 166 SPI driver for Samsung S3C24XX series ARM SoCs using 165 167 GPIO lines to provide the SPI bus. This can be used where