Skip to content

Commit

Permalink
staging: ti-st: drop the __KERNEL__
Browse files Browse the repository at this point in the history
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: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pavan Savoy authored and Greg Kroah-Hartman committed Oct 5, 2010
1 parent 40fb29a commit c7afa08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/ti-st/ti_wilink_st.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#ifndef TI_WILINK_ST_H
#define TI_WILINK_ST_H

#ifdef __KERNEL__
/**
* enum kim_gpio_state - Few protocols such as FM have ACTIVE LOW
* gpio states for their chip/core enable gpios
Expand Down Expand Up @@ -400,5 +399,4 @@ struct gps_event_hdr {
u16 plen;
} __attribute__ ((packed));

#endif /* __KERNEL__ */
#endif /* TI_WILINK_ST_H */

0 comments on commit c7afa08

Please sign in to comment.