Skip to content

Commit

Permalink
HSI: hsi_char: Add HSI char device kernel configuration
Browse files Browse the repository at this point in the history
Add HSI character device kernel configuration

Signed-off-by: Andras Domokos <[email protected]>
Signed-off-by: Carlos Chinea <[email protected]>
  • Loading branch information
Andras Domokos authored and carloschinea committed Jan 5, 2012
1 parent 4e69fc2 commit f9e4020
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ config HSI_BOARDINFO
bool
default y

source "drivers/hsi/clients/Kconfig"

endif # HSI
1 change: 1 addition & 0 deletions drivers/hsi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
#
obj-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o
obj-$(CONFIG_HSI) += hsi.o
obj-y += clients/
13 changes: 13 additions & 0 deletions drivers/hsi/clients/Kconfig
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions drivers/hsi/clients/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Makefile for HSI clients
#

obj-$(CONFIG_HSI_CHAR) += hsi_char.o
1 change: 1 addition & 0 deletions include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 1 addition & 0 deletions include/linux/hsi/Kbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
header-y += hsi_char.h

0 comments on commit f9e4020

Please sign in to comment.