[RFC v5 8/9] drivers:staging: ti-st: Kconfig & Makefile change

From: manjunatha_halli
Date: Mon Nov 29 2010 - 08:11:38 EST


From: Manjunatha Halli <manjunatha_halli@xxxxxx>

Add new menu option in Kconfig and compilation option in Makefile
for TI FM driver.

Signed-off-by: Manjunatha Halli <manjunatha_halli@xxxxxx>
---
drivers/staging/ti-st/Kconfig | 10 ++++++++++
drivers/staging/ti-st/Makefile | 2 ++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/ti-st/Kconfig b/drivers/staging/ti-st/Kconfig
index 074b8e8..43b6dea 100644
--- a/drivers/staging/ti-st/Kconfig
+++ b/drivers/staging/ti-st/Kconfig
@@ -11,4 +11,14 @@ config ST_BT
This enables the Bluetooth driver for TI BT/FM/GPS combo devices.
This makes use of shared transport line discipline core driver to
communicate with the BT core of the combo chip.
+
+config ST_FM
+ tristate "fm driver for ST"
+ depends on VIDEO_DEV && RFKILL
+ select TI_ST
+ help
+ This enables the FM driver for TI BT/FM/GPS combo devices.
+ This makes use of shared transport line discipline core driver to
+ communicate with the FM core of the combo chip.
+
endmenu
diff --git a/drivers/staging/ti-st/Makefile b/drivers/staging/ti-st/Makefile
index 5f11b82..330f95b 100644
--- a/drivers/staging/ti-st/Makefile
+++ b/drivers/staging/ti-st/Makefile
@@ -3,3 +3,5 @@
# and its protocol drivers (BT, FM, GPS)
#
obj-$(CONFIG_ST_BT) += bt_drv.o
+obj-$(CONFIG_ST_FM) += fm_drv.o
+fm_drv-objs := fmdrv_common.o fmdrv_rx.o fmdrv_tx.o fmdrv_v4l2.o
--
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/