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 /drivers/net | |
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 'drivers/net')
-rw-r--r-- | drivers/net/caif/Kconfig | 5 | ||||
-rw-r--r-- | drivers/net/caif/Makefile | 10 |
2 files changed, 3 insertions, 12 deletions
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig index 0b28e0107697..6f33ee453f41 100644 --- a/drivers/net/caif/Kconfig +++ b/drivers/net/caif/Kconfig | |||
@@ -2,16 +2,13 @@ | |||
2 | # CAIF physical drivers | 2 | # CAIF physical drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | if CAIF | ||
6 | |||
7 | comment "CAIF transport drivers" | 5 | comment "CAIF transport drivers" |
8 | 6 | ||
9 | config CAIF_TTY | 7 | config CAIF_TTY |
10 | tristate "CAIF TTY transport driver" | 8 | tristate "CAIF TTY transport driver" |
9 | depends on CAIF | ||
11 | default n | 10 | default n |
12 | ---help--- | 11 | ---help--- |
13 | The CAIF TTY transport driver is a Line Discipline (ldisc) | 12 | The CAIF TTY transport driver is a Line Discipline (ldisc) |
14 | identified as N_CAIF. When this ldisc is opened from user space | 13 | identified as N_CAIF. When this ldisc is opened from user space |
15 | it will redirect the TTY's traffic into the CAIF stack. | 14 | it will redirect the TTY's traffic into the CAIF stack. |
16 | |||
17 | endif # CAIF | ||
diff --git a/drivers/net/caif/Makefile b/drivers/net/caif/Makefile index 52b6d1f826f8..e6d3ca06ecfe 100644 --- a/drivers/net/caif/Makefile +++ b/drivers/net/caif/Makefile | |||
@@ -1,12 +1,6 @@ | |||
1 | ifeq ($(CONFIG_CAIF_DEBUG),1) | 1 | ifeq ($(CONFIG_CAIF_DEBUG),y) |
2 | CAIF_DBG_FLAGS := -DDEBUG | 2 | EXTRA_CFLAGS += -DDEBUG |
3 | endif | 3 | endif |
4 | 4 | ||
5 | KBUILD_EXTRA_SYMBOLS=net/caif/Module.symvers | ||
6 | |||
7 | ccflags-y := $(CAIF_FLAGS) $(CAIF_DBG_FLAGS) | ||
8 | clean-dirs:= .tmp_versions | ||
9 | clean-files:= Module.symvers modules.order *.cmd *~ \ | ||
10 | |||
11 | # Serial interface | 5 | # Serial interface |
12 | obj-$(CONFIG_CAIF_TTY) += caif_serial.o | 6 | obj-$(CONFIG_CAIF_TTY) += caif_serial.o |