Skip to content

Commit f9e4020

Browse files
Andras Domokoscarloschinea
authored andcommitted
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>
1 parent 4e69fc2 commit f9e4020

6 files changed

Lines changed: 23 additions & 0 deletions

File tree

‎drivers/hsi/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ config HSI_BOARDINFO
1414
bool
1515
default y
1616

17+
source "drivers/hsi/clients/Kconfig"
18+
1719
endif # HSI

‎drivers/hsi/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
#
44
obj-$(CONFIG_HSI_BOARDINFO) += hsi_boardinfo.o
55
obj-$(CONFIG_HSI) += hsi.o
6+
obj-y += clients/

‎drivers/hsi/clients/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

‎drivers/hsi/clients/Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for HSI clients
3+
#
4+
5+
obj-$(CONFIG_HSI_CHAR) += hsi_char.o

‎include/linux/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ header-y += can/
33
header-y += caif/
44
header-y += dvb/
55
header-y += hdlc/
6+
header-y += hsi/
67
header-y += isdn/
78
header-y += mmc/
89
header-y += nfsd/

‎include/linux/hsi/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
header-y += hsi_char.h

0 commit comments

Comments
 (0)