HSI: hsi_char: Add HSI char device kernel configuration
authorAndras Domokos <andras.domokos@nokia.com>
Wed, 21 Apr 2010 09:04:21 +0000 (12:04 +0300)
committerCarlos Chinea <carlos.chinea@nokia.com>
Thu, 5 Jan 2012 13:42:13 +0000 (15:42 +0200)
Add HSI character device kernel configuration

Signed-off-by: Andras Domokos <andras.domokos@nokia.com>
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
drivers/hsi/Kconfig
drivers/hsi/Makefile
drivers/hsi/clients/Kconfig [new file with mode: 0644]
drivers/hsi/clients/Makefile [new file with mode: 0644]
include/linux/Kbuild
include/linux/hsi/Kbuild [new file with mode: 0644]

index 937062e..d94e38d 100644 (file)
@@ -14,4 +14,6 @@ config HSI_BOARDINFO
        bool
        default y
 
+source "drivers/hsi/clients/Kconfig"
+
 endif # HSI
index ed94a3a..9d5d33f 100644 (file)
@@ -3,3 +3,4 @@
 #
 obj-$(CONFIG_HSI_BOARDINFO)    += hsi_boardinfo.o
 obj-$(CONFIG_HSI)              += hsi.o
+obj-y                          += clients/
diff --git a/drivers/hsi/clients/Kconfig b/drivers/hsi/clients/Kconfig
new file mode 100644 (file)
index 0000000..3bacd27
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# HSI clients configuration
+#
+
+comment "HSI clients"
+
+config HSI_CHAR
+       tristate "HSI/SSI character driver"
+       depends on HSI
+       ---help---
+         If you say Y here, you will enable the HSI/SSI character driver.
+         This driver provides a simple character device interface for
+         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 (file)
index 0000000..327c0e2
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for HSI clients
+#
+
+obj-$(CONFIG_HSI_CHAR) += hsi_char.o
index 619b565..3171939 100644 (file)
@@ -3,6 +3,7 @@ header-y += can/
 header-y += caif/
 header-y += dvb/
 header-y += hdlc/
+header-y += hsi/
 header-y += isdn/
 header-y += mmc/
 header-y += nfsd/
diff --git a/include/linux/hsi/Kbuild b/include/linux/hsi/Kbuild
new file mode 100644 (file)
index 0000000..271a770
--- /dev/null
@@ -0,0 +1 @@
+header-y += hsi_char.h