Browse Source

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>
Andras Domokos 15 years ago
parent
commit
f9e402016d

+ 2 - 0
drivers/hsi/Kconfig

@@ -14,4 +14,6 @@ config HSI_BOARDINFO
 	bool
 	default y
 
+source "drivers/hsi/clients/Kconfig"
+
 endif # HSI

+ 1 - 0
drivers/hsi/Makefile

@@ -3,3 +3,4 @@
 #
 obj-$(CONFIG_HSI_BOARDINFO)	+= hsi_boardinfo.o
 obj-$(CONFIG_HSI)		+= hsi.o
+obj-y				+= clients/

+ 13 - 0
drivers/hsi/clients/Kconfig

@@ -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.

+ 5 - 0
drivers/hsi/clients/Makefile

@@ -0,0 +1,5 @@
+#
+# Makefile for HSI clients
+#
+
+obj-$(CONFIG_HSI_CHAR)	+= hsi_char.o

+ 1 - 0
include/linux/Kbuild

@@ -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/

+ 1 - 0
include/linux/hsi/Kbuild

@@ -0,0 +1 @@
+header-y += hsi_char.h