aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/leds.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2007-11-09 17:57:18 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:42 -0500
commit95de2841aad971867851b59c0c5253ecc2e19832 (patch)
treedf6a79322a1f7b8992d38ca7d02502e0ded31b3f /drivers/net/wireless/b43/leds.c
parent458414b2e3d9dd7ee4510d18c119a7ccd3b43ec5 (diff)
b43: Convert to use of the new SPROM structure
The b43 driver is modified to use the new SPROM structure. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/leds.c')
-rw-r--r--drivers/net/wireless/b43/leds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/leds.c b/drivers/net/wireless/b43/leds.c
index e04eba1f9308..4b590d8c65ff 100644
--- a/drivers/net/wireless/b43/leds.c
+++ b/drivers/net/wireless/b43/leds.c
@@ -190,10 +190,10 @@ void b43_leds_init(struct b43_wldev *dev)
190 enum b43_led_behaviour behaviour; 190 enum b43_led_behaviour behaviour;
191 bool activelow; 191 bool activelow;
192 192
193 sprom[0] = bus->sprom.r1.gpio0; 193 sprom[0] = bus->sprom.gpio0;
194 sprom[1] = bus->sprom.r1.gpio1; 194 sprom[1] = bus->sprom.gpio1;
195 sprom[2] = bus->sprom.r1.gpio2; 195 sprom[2] = bus->sprom.gpio2;
196 sprom[3] = bus->sprom.r1.gpio3; 196 sprom[3] = bus->sprom.gpio3;
197 197
198 for (i = 0; i < 4; i++) { 198 for (i = 0; i < 4; i++) {
199 if (sprom[i] == 0xFF) { 199 if (sprom[i] == 0xFF) {