diff options
author | Andras Domokos <andras.domokos@nokia.com> | 2010-04-21 05:04:21 -0400 |
---|---|---|
committer | Carlos Chinea <carlos.chinea@nokia.com> | 2012-01-05 08:42:13 -0500 |
commit | f9e402016de91c2444e46ecfd706880969b1ae9e (patch) | |
tree | 981cf8e988975d5032b0b7a0e46f34ac65258493 | |
parent | 4e69fc22753fcce1d9275b5517ef3646ffeffcf4 (diff) |
HSI: hsi_char: Add HSI char device kernel configuration
Add HSI character device kernel configuration
Signed-off-by: Andras Domokos <andras.domokos@nokia.com>
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
-rw-r--r-- | drivers/hsi/Kconfig | 2 | ||||
-rw-r--r-- | drivers/hsi/Makefile | 1 | ||||
-rw-r--r-- | drivers/hsi/clients/Kconfig | 13 | ||||
-rw-r--r-- | drivers/hsi/clients/Makefile | 5 | ||||
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | include/linux/hsi/Kbuild | 1 |
6 files changed, 23 insertions, 0 deletions
diff --git a/drivers/hsi/Kconfig b/drivers/hsi/Kconfig index 937062e8bcd..d94e38dd80c 100644 --- a/drivers/hsi/Kconfig +++ b/drivers/hsi/Kconfig | |||
@@ -14,4 +14,6 @@ config HSI_BOARDINFO | |||
14 | bool | 14 | bool |
15 | default y | 15 | default y |
16 | 16 | ||
17 | source "drivers/hsi/clients/Kconfig" | ||
18 | |||
17 | endif # HSI | 19 | endif # HSI |
diff --git a/drivers/hsi/Makefile b/drivers/hsi/Makefile index ed94a3a334a..9d5d33f90de 100644 --- a/drivers/hsi/Makefile +++ b/drivers/hsi/Makefile | |||
@@ -3,3 +3,4 @@ | |||
3 | # | 3 | # |
4 | obj-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o | 4 | obj-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o |
5 | obj-$(CONFIG_HSI) += hsi.o | 5 | obj-$(CONFIG_HSI) += hsi.o |
6 | obj-y += clients/ | ||
diff --git a/drivers/hsi/clients/Kconfig b/drivers/hsi/clients/Kconfig new file mode 100644 index 00000000000..3bacd275f47 --- /dev/null +++ b/drivers/hsi/clients/Kconfig | |||
@@ -0,0 +1,13 @@ | |||
1 | # | ||
2 | # HSI clients configuration | ||
3 | # | ||
4 | |||
5 | comment "HSI clients" | ||
6 | |||
7 | config HSI_CHAR | ||
8 | tristate "HSI/SSI character driver" | ||
9 | depends on HSI | ||
10 | ---help--- | ||
11 | If you say Y here, you will enable the HSI/SSI character driver. | ||
12 | This driver provides a simple character device interface for | ||
13 | serial communication with the cellular modem over HSI/SSI bus. | ||
diff --git a/drivers/hsi/clients/Makefile b/drivers/hsi/clients/Makefile new file mode 100644 index 00000000000..327c0e27c8b --- /dev/null +++ b/drivers/hsi/clients/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for HSI clients | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_HSI_CHAR) += hsi_char.o | ||
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 619b5657af7..3171939e626 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -3,6 +3,7 @@ header-y += can/ | |||
3 | header-y += caif/ | 3 | header-y += caif/ |
4 | header-y += dvb/ | 4 | header-y += dvb/ |
5 | header-y += hdlc/ | 5 | header-y += hdlc/ |
6 | header-y += hsi/ | ||
6 | header-y += isdn/ | 7 | header-y += isdn/ |
7 | header-y += mmc/ | 8 | header-y += mmc/ |
8 | header-y += nfsd/ | 9 | header-y += nfsd/ |
diff --git a/include/linux/hsi/Kbuild b/include/linux/hsi/Kbuild new file mode 100644 index 00000000000..271a770b478 --- /dev/null +++ b/include/linux/hsi/Kbuild | |||
@@ -0,0 +1 @@ | |||
header-y += hsi_char.h | |||