summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/leds.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/leds.h')
-rw-r--r--drivers/net/wireless/b43/leds.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/leds.h b/drivers/net/wireless/b43/leds.h
index 36b46cfda220..d94851d291c0 100644
--- a/drivers/net/wireless/b43/leds.h
+++ b/drivers/net/wireless/b43/leds.h
@@ -5,14 +5,14 @@
#include <linux/timer.h>
struct b43_led {
- u8 behaviour:7;
- u8 activelow:1;
-
+ u8 behaviour;
+ bool activelow;
+ /* Index in the "leds" array in b43_wldev */
+ u8 index;
struct b43_wldev *dev;
struct timer_list blink_timer;
unsigned long blink_interval;
};
-#define b43_led_index(led) ((int)((led) - (led)->dev->leds))
/* Delay between state changes when blinking in jiffies */
#define B43_LEDBLINK_SLOW (HZ / 1)
OpenPOWER on IntegriCloud