Commit c7afa08d authored by Pavan Savoy's avatar Pavan Savoy Committed by Greg Kroah-Hartman

staging: ti-st: drop the __KERNEL__

ti_wilink_st.h had the line discipline number which the user-space
daemon refers to, to install and un-install the line discipline upon
request from the shared transport driver via rfkill device.

On moving this line discipline number to standard location of tty.h
drop the __KERNEL__ flag in the header, since the header file would
no longer be used by user-space.
Signed-off-by: default avatarPavan Savoy <pavan_savoy@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 40fb29a7
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#ifndef TI_WILINK_ST_H #ifndef TI_WILINK_ST_H
#define TI_WILINK_ST_H #define TI_WILINK_ST_H
#ifdef __KERNEL__
/** /**
* enum kim_gpio_state - Few protocols such as FM have ACTIVE LOW * enum kim_gpio_state - Few protocols such as FM have ACTIVE LOW
* gpio states for their chip/core enable gpios * gpio states for their chip/core enable gpios
...@@ -400,5 +399,4 @@ struct gps_event_hdr { ...@@ -400,5 +399,4 @@ struct gps_event_hdr {
u16 plen; u16 plen;
} __attribute__ ((packed)); } __attribute__ ((packed));
#endif /* __KERNEL__ */
#endif /* TI_WILINK_ST_H */ #endif /* TI_WILINK_ST_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment