From: Tomas Winkler <tomas.winkler@intel.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org, Tomas Winkler <tomas.winkler@intel.com>
Subject: [PATCH 1/1] update rfkill.h from kernel 2.6.33
Date: Tue, 19 Jan 2010 09:05:21 +0200 [thread overview]
Message-ID: <1263884721-11008-1-git-send-email-tomas.winkler@intel.com> (raw)
1. add FM radio type
2. update rfkill_type docs
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
rfkill.c | 3 +++
rfkill.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/rfkill.c b/rfkill.c
index 216e6ac..3f71181 100644
--- a/rfkill.c
+++ b/rfkill.c
@@ -109,6 +109,8 @@ static const char *type2string(enum rfkill_type type)
return "Wireless WAN";
case RFKILL_TYPE_GPS:
return "GPS";
+ case RFKILL_TYPE_FM:
+ return "FM";
case NUM_RFKILL_TYPES:
return NULL;
}
@@ -203,6 +205,7 @@ static struct rfkill_type_str rfkill_type_strings[] = {
{ .type = RFKILL_TYPE_WIMAX, .name = "wimax" },
{ .type = RFKILL_TYPE_WWAN, .name = "wwan" },
{ .type = RFKILL_TYPE_GPS, .name = "gps" },
+ { .type = RFKILL_TYPE_FM, .name = "fm" },
{ .name = NULL }
};
diff --git a/rfkill.h b/rfkill.h
index 3392c59..97059d0 100644
--- a/rfkill.h
+++ b/rfkill.h
@@ -35,6 +35,8 @@
* @RFKILL_TYPE_UWB: switch is on a ultra wideband device.
* @RFKILL_TYPE_WIMAX: switch is on a WiMAX device.
* @RFKILL_TYPE_WWAN: switch is on a wireless WAN device.
+ * @RFKILL_TYPE_GPS: switch is on a GPS device.
+ * @RFKILL_TYPE_FM: switch is on a FM radio device.
* @NUM_RFKILL_TYPES: number of defined rfkill types
*/
enum rfkill_type {
@@ -45,6 +47,7 @@ enum rfkill_type {
RFKILL_TYPE_WIMAX,
RFKILL_TYPE_WWAN,
RFKILL_TYPE_GPS,
+ RFKILL_TYPE_FM,
NUM_RFKILL_TYPES,
};
--
1.6.0.6
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
next reply other threads:[~2010-01-19 7:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 7:05 Tomas Winkler [this message]
2010-01-19 17:53 ` [PATCH 1/1] update rfkill.h from kernel 2.6.33 Luis R. Rodriguez
2010-01-19 17:55 ` Johannes Berg
2010-01-19 17:57 ` Luis R. Rodriguez
2010-01-19 17:59 ` Johannes Berg
2010-01-19 18:02 ` Luis R. Rodriguez
2010-01-20 22:30 ` Tomas Winkler
2010-01-22 0:44 ` Henrique de Moraes Holschuh
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=1263884721-11008-1-git-send-email-tomas.winkler@intel.com \
--to=tomas.winkler@intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@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