diff options
author | Piotr Haber <phaber@broadcom.com> | 2013-03-03 11:45:20 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-06 21:28:20 (GMT) |
commit | cd864522b349cfe88903cf6f3415293c39856b6c (patch) | |
tree | af4f249a27c55053f59b6cded29b641535ced413 /drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h | |
parent | 98929824eec490984e42ac9dc3b96f7f12033996 (diff) | |
download | linux-fsl-qoriq-cd864522b349cfe88903cf6f3415293c39856b6c.tar.xz |
brcmsmac: radio on led support
Add support for radio on led indicator.
Control led via BCMA gpio driver.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
[arend@broadcom.com: modify Makefile for conditional compile led.c]
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h index 947ccac..4090032 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h +++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.h @@ -20,8 +20,10 @@ #include <linux/timer.h> #include <linux/interrupt.h> #include <linux/workqueue.h> +#include <linux/leds.h> #include "ucode_loader.h" +#include "led.h" /* * Starting index for 5G rates in the * legacy rate table. @@ -81,6 +83,8 @@ struct brcms_info { struct wiphy *wiphy; struct brcms_ucode ucode; bool mute_tx; + struct brcms_led radio_led; + struct led_classdev led_dev; }; /* misc callbacks */ |