diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-06-26 07:31:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-29 03:06:38 -0400 |
commit | 01eebb53a65996dfbfb892bf5eb21ae831fbe3a6 (patch) | |
tree | 958201b54f52778159010d55006c52d00955d654 /net/caif/Kconfig | |
parent | cfc9b16b75f2cef1e0b283fd2b52ddde568401ab (diff) |
caif: Kconfig and Makefile fixes
Use "depends on" instead of "if" in Kconfig files.
Fixed CAIF debug flag, and removed unnecessary clean-* options.
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/Kconfig')
-rw-r--r-- | net/caif/Kconfig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/caif/Kconfig b/net/caif/Kconfig index ed651786f16b..529750da9624 100644 --- a/net/caif/Kconfig +++ b/net/caif/Kconfig | |||
@@ -21,19 +21,18 @@ menuconfig CAIF | |||
21 | See Documentation/networking/caif for a further explanation on how to | 21 | See Documentation/networking/caif for a further explanation on how to |
22 | use and configure CAIF. | 22 | use and configure CAIF. |
23 | 23 | ||
24 | if CAIF | ||
25 | |||
26 | config CAIF_DEBUG | 24 | config CAIF_DEBUG |
27 | bool "Enable Debug" | 25 | bool "Enable Debug" |
26 | depends on CAIF | ||
28 | default n | 27 | default n |
29 | --- help --- | 28 | --- help --- |
30 | Enable the inclusion of debug code in the CAIF stack. | 29 | Enable the inclusion of debug code in the CAIF stack. |
31 | Be aware that doing this will impact performance. | 30 | Be aware that doing this will impact performance. |
32 | If unsure say N. | 31 | If unsure say N. |
33 | 32 | ||
34 | |||
35 | config CAIF_NETDEV | 33 | config CAIF_NETDEV |
36 | tristate "CAIF GPRS Network device" | 34 | tristate "CAIF GPRS Network device" |
35 | depends on CAIF | ||
37 | default CAIF | 36 | default CAIF |
38 | ---help--- | 37 | ---help--- |
39 | Say Y if you will be using a CAIF based GPRS network device. | 38 | Say Y if you will be using a CAIF based GPRS network device. |
@@ -41,5 +40,3 @@ config CAIF_NETDEV | |||
41 | If you select to build it as a built-in then the main CAIF device must | 40 | If you select to build it as a built-in then the main CAIF device must |
42 | also be a built-in. | 41 | also be a built-in. |
43 | If unsure say Y. | 42 | If unsure say Y. |
44 | |||
45 | endif | ||