mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: pavan_savoy@ti.com
To: gregkh@suse.de, alan@lxorguk.ukuu.org.uk
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Pavan Savoy <pavan_savoy@ti.com>
Subject: [PATCH 2/3] drivers:staging:ti-st: drop the __KERNEL__
Date: Thu, 30 Sep 2010 16:13:29 -0400	[thread overview]
Message-ID: <1285877610-3043-3-git-send-email-pavan_savoy@ti.com> (raw)
In-Reply-To: <1285877610-3043-2-git-send-email-pavan_savoy@ti.com>

From: Pavan Savoy <pavan_savoy@ti.com>

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>
---
 drivers/staging/ti-st/ti_wilink_st.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ti-st/ti_wilink_st.h b/drivers/staging/ti-st/ti_wilink_st.h
index afb0cc6..2a5acf5 100644
--- a/drivers/staging/ti-st/ti_wilink_st.h
+++ b/drivers/staging/ti-st/ti_wilink_st.h
@@ -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
@@ -400,5 +399,4 @@ struct gps_event_hdr {
 	u16 plen;
 } __attribute__ ((packed));
 
-#endif /* __KERNEL__ */
 #endif /* TI_WILINK_ST_H */
-- 
1.6.5


  reply	other threads:[~2010-09-30 19:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 20:13 [PATCH 0/3] prepare TI_ST to move out of staging pavan_savoy
2010-09-30 20:13 ` [PATCH 1/3] include:linux: tty.h: new ldisc for TI WiLink ST pavan_savoy
2010-09-30 20:13   ` pavan_savoy [this message]
2010-09-30 20:13     ` [PATCH 3/3] drivers:staging:ti-st: mv ti_wilink_st header pavan_savoy
2010-10-05 18:23 ` [PATCH 0/3] prepare TI_ST to move out of staging Savoy, Pavan
2010-10-05 18:49 ` Greg KH
2010-10-05 18:57   ` Savoy, Pavan
2010-10-05 20:06     ` Greg KH
2010-10-05 19:10   ` Savoy, Pavan
2010-10-05 20:07     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285877610-3043-3-git-send-email-pavan_savoy@ti.com \
    --to=pavan_savoy@ti.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®