aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/leds.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-09-20 14:13:40 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:07 -0400
commit1a09404a2338163f181d170c7abdc2242b6c6f03 (patch)
tree090a31041c1e294a2586f12679a17a5329129272 /drivers/net/wireless/b43/leds.h
parentfb8e4444cc8c7719d9947e21a93e2e84bb1b36eb (diff)
[B43]: Fix sparse warnings.
The remaining warning in phy.c will be fixed later. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: David S. Miller <davem@davemloft.net>
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 @@
5#include <linux/timer.h> 5#include <linux/timer.h>
6 6
7struct b43_led { 7struct b43_led {
8 u8 behaviour:7; 8 u8 behaviour;
9 u8 activelow:1; 9 bool activelow;
10 10 /* Index in the "leds" array in b43_wldev */
11 u8 index;
11 struct b43_wldev *dev; 12 struct b43_wldev *dev;
12 struct timer_list blink_timer; 13 struct timer_list blink_timer;
13 unsigned long blink_interval; 14 unsigned long blink_interval;
14}; 15};
15#define b43_led_index(led) ((int)((led) - (led)->dev->leds))
16 16
17/* Delay between state changes when blinking in jiffies */ 17/* Delay between state changes when blinking in jiffies */
18#define B43_LEDBLINK_SLOW (HZ / 1) 18#define B43_LEDBLINK_SLOW (HZ / 1)