diff options
author | Alessandro Guido <alessandro.guido@gmail.com> | 2008-04-28 05:14:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:31 -0400 |
commit | 79d8c7a8c888a7c2ab9dd4249495b24575b3f9a6 (patch) | |
tree | ef553a449ca150af5ccdbd0693d56305f7dbf938 /drivers/spi | |
parent | 608dfddd845da5ab6accef70154c8910529699f7 (diff) |
spi: use menuconfig for CONFIG_SPI
Signed-off-by: Alessandro Guido <alessandro.guido@gmail.com>
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/Kconfig | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index d8107890db15..fae9e8f3d092 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -5,11 +5,9 @@ | |||
5 | # nobody's needed a slave side API yet. The master-role API is not | 5 | # nobody's needed a slave side API yet. The master-role API is not |
6 | # fully appropriate there, so it'd need some thought to do well. | 6 | # fully appropriate there, so it'd need some thought to do well. |
7 | # | 7 | # |
8 | menu "SPI support" | 8 | menuconfig SPI |
9 | depends on HAS_IOMEM | ||
10 | |||
11 | config SPI | ||
12 | bool "SPI support" | 9 | bool "SPI support" |
10 | depends on HAS_IOMEM | ||
13 | help | 11 | help |
14 | The "Serial Peripheral Interface" is a low level synchronous | 12 | The "Serial Peripheral Interface" is a low level synchronous |
15 | protocol. Chips that support SPI can have data transfer rates | 13 | protocol. Chips that support SPI can have data transfer rates |
@@ -28,9 +26,11 @@ config SPI | |||
28 | (half duplex), SSP, SSI, and PSP. This driver framework should | 26 | (half duplex), SSP, SSI, and PSP. This driver framework should |
29 | work with most such devices and controllers. | 27 | work with most such devices and controllers. |
30 | 28 | ||
29 | if SPI | ||
30 | |||
31 | config SPI_DEBUG | 31 | config SPI_DEBUG |
32 | boolean "Debug support for SPI drivers" | 32 | boolean "Debug support for SPI drivers" |
33 | depends on SPI && DEBUG_KERNEL | 33 | depends on DEBUG_KERNEL |
34 | help | 34 | help |
35 | Say "yes" to enable debug messaging (like dev_dbg and pr_debug), | 35 | Say "yes" to enable debug messaging (like dev_dbg and pr_debug), |
36 | sysfs, and debugfs support in SPI controller and protocol drivers. | 36 | sysfs, and debugfs support in SPI controller and protocol drivers. |
@@ -245,5 +245,4 @@ config SPI_TLE62X0 | |||
245 | 245 | ||
246 | # (slave support would go here) | 246 | # (slave support would go here) |
247 | 247 | ||
248 | endmenu # "SPI support" | 248 | endif # SPI |
249 | |||