diff options
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r-- | drivers/i2c/Kconfig | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 74c8518b69e7..434a61b415a3 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig | |||
@@ -2,9 +2,7 @@ | |||
2 | # I2C subsystem configuration | 2 | # I2C subsystem configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "I2C support" | 5 | menuconfig I2C |
6 | |||
7 | config I2C | ||
8 | tristate "I2C support" | 6 | tristate "I2C support" |
9 | ---help--- | 7 | ---help--- |
10 | I2C (pronounce: I-square-C) is a slow serial bus protocol used in | 8 | I2C (pronounce: I-square-C) is a slow serial bus protocol used in |
@@ -22,14 +20,14 @@ config I2C | |||
22 | This I2C support can also be built as a module. If so, the module | 20 | This I2C support can also be built as a module. If so, the module |
23 | will be called i2c-core. | 21 | will be called i2c-core. |
24 | 22 | ||
23 | if I2C | ||
24 | |||
25 | config I2C_BOARDINFO | 25 | config I2C_BOARDINFO |
26 | boolean | 26 | boolean |
27 | depends on I2C | ||
28 | default y | 27 | default y |
29 | 28 | ||
30 | config I2C_CHARDEV | 29 | config I2C_CHARDEV |
31 | tristate "I2C device interface" | 30 | tristate "I2C device interface" |
32 | depends on I2C | ||
33 | help | 31 | help |
34 | Say Y here to use i2c-* device files, usually found in the /dev | 32 | Say Y here to use i2c-* device files, usually found in the /dev |
35 | directory on your system. They make it possible to have user-space | 33 | directory on your system. They make it possible to have user-space |
@@ -45,7 +43,6 @@ source drivers/i2c/chips/Kconfig | |||
45 | 43 | ||
46 | config I2C_DEBUG_CORE | 44 | config I2C_DEBUG_CORE |
47 | bool "I2C Core debugging messages" | 45 | bool "I2C Core debugging messages" |
48 | depends on I2C | ||
49 | help | 46 | help |
50 | Say Y here if you want the I2C core to produce a bunch of debug | 47 | Say Y here if you want the I2C core to produce a bunch of debug |
51 | messages to the system log. Select this if you are having a | 48 | messages to the system log. Select this if you are having a |
@@ -53,7 +50,6 @@ config I2C_DEBUG_CORE | |||
53 | 50 | ||
54 | config I2C_DEBUG_ALGO | 51 | config I2C_DEBUG_ALGO |
55 | bool "I2C Algorithm debugging messages" | 52 | bool "I2C Algorithm debugging messages" |
56 | depends on I2C | ||
57 | help | 53 | help |
58 | Say Y here if you want the I2C algorithm drivers to produce a bunch | 54 | Say Y here if you want the I2C algorithm drivers to produce a bunch |
59 | of debug messages to the system log. Select this if you are having | 55 | of debug messages to the system log. Select this if you are having |
@@ -62,7 +58,6 @@ config I2C_DEBUG_ALGO | |||
62 | 58 | ||
63 | config I2C_DEBUG_BUS | 59 | config I2C_DEBUG_BUS |
64 | bool "I2C Bus debugging messages" | 60 | bool "I2C Bus debugging messages" |
65 | depends on I2C | ||
66 | help | 61 | help |
67 | Say Y here if you want the I2C bus drivers to produce a bunch of | 62 | Say Y here if you want the I2C bus drivers to produce a bunch of |
68 | debug messages to the system log. Select this if you are having | 63 | debug messages to the system log. Select this if you are having |
@@ -71,12 +66,10 @@ config I2C_DEBUG_BUS | |||
71 | 66 | ||
72 | config I2C_DEBUG_CHIP | 67 | config I2C_DEBUG_CHIP |
73 | bool "I2C Chip debugging messages" | 68 | bool "I2C Chip debugging messages" |
74 | depends on I2C | ||
75 | help | 69 | help |
76 | Say Y here if you want the I2C chip drivers to produce a bunch of | 70 | Say Y here if you want the I2C chip drivers to produce a bunch of |
77 | debug messages to the system log. Select this if you are having | 71 | debug messages to the system log. Select this if you are having |
78 | a problem with I2C support and want to see more of what is going | 72 | a problem with I2C support and want to see more of what is going |
79 | on. | 73 | on. |
80 | 74 | ||
81 | endmenu | 75 | endif # I2C |
82 | |||