[PATCH 1/3] include:linux: tty.h: new ldisc for TI WiLink ST

From: pavan_savoy
Date: Thu Sep 30 2010 - 15:02:01 EST


From: Pavan Savoy <pavan_savoy@xxxxxx>

Texas Instrument's WiLink7 connectivity devices pack wireless connectivity
technologies like Bluetooth, FM Radio Receiver and Transmitter, GPS and WLAN
into a single die.
The BT, FM and GPS core on the chip are interfaced to application
processors via a single UART.

This line discipline driver allows such different technologies to be used
simultaneous and independent of each other.
Signed-off-by: Pavan Savoy <pavan_savoy@xxxxxx>
---
drivers/staging/ti-st/ti_wilink_st.h | 5 -----
include/linux/tty.h | 1 +
2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/ti-st/ti_wilink_st.h b/drivers/staging/ti-st/ti_wilink_st.h
index 537efce..afb0cc6 100644
--- a/drivers/staging/ti-st/ti_wilink_st.h
+++ b/drivers/staging/ti-st/ti_wilink_st.h
@@ -25,11 +25,6 @@
#ifndef TI_WILINK_ST_H
#define TI_WILINK_ST_H

-/* TODO:
- * Move the following to tty.h upon acceptance
- */
-#define N_TI_WL 22 /* Ldisc for TI's WL BT, FM, GPS combo chips */
-
#ifdef __KERNEL__
/**
* enum kim_gpio_state - Few protocols such as FM have ACTIVE LOW
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 86be0cd..e500171 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -50,6 +50,7 @@
#define N_V253 19 /* Codec control over voice modem */
#define N_CAIF 20 /* CAIF protocol for talking to modems */
#define N_GSM0710 21 /* GSM 0710 Mux */
+#define N_TI_WL 22 /* for TI's WL BT, FM, GPS combo chips */

/*
* This character is the same as _POSIX_VDISABLE: it cannot be used as
--
1.6.5

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