diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-11-18 10:48:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:26 -0500 |
commit | 875405a7793e9c35fab33819e7e5df7a98b6064c (patch) | |
tree | 7696916f19a3e69ac06c76bd4ca3124e4360ea50 /net | |
parent | 0878c3504f92f1bf063d0890a9960d4b9e6c4618 (diff) |
rfkill: Add constant for RFKILL_TYPE_FM radio devices
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Janakiram Sistla <janakiram.sistla@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/rfkill/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/rfkill/core.c b/net/rfkill/core.c index ba2efb960c60..09f4e161799b 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c | |||
@@ -592,11 +592,13 @@ static const char *rfkill_get_type_str(enum rfkill_type type) | |||
592 | return "wwan"; | 592 | return "wwan"; |
593 | case RFKILL_TYPE_GPS: | 593 | case RFKILL_TYPE_GPS: |
594 | return "gps"; | 594 | return "gps"; |
595 | case RFKILL_TYPE_FM: | ||
596 | return "fm"; | ||
595 | default: | 597 | default: |
596 | BUG(); | 598 | BUG(); |
597 | } | 599 | } |
598 | 600 | ||
599 | BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_GPS + 1); | 601 | BUILD_BUG_ON(NUM_RFKILL_TYPES != RFKILL_TYPE_FM + 1); |
600 | } | 602 | } |
601 | 603 | ||
602 | static ssize_t rfkill_type_show(struct device *dev, | 604 | static ssize_t rfkill_type_show(struct device *dev, |