summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43legacy/leds.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2007-11-09 22:57:34 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:04:43 (GMT)
commit7797aa384870e3bb5bfd3b6a0eae61e7c7a4c993 (patch)
tree9d48b112dc1c973a17860fe39e82554724f7ed4b /drivers/net/wireless/b43legacy/leds.c
parent95de2841aad971867851b59c0c5253ecc2e19832 (diff)
downloadlinux-fsl-qoriq-7797aa384870e3bb5bfd3b6a0eae61e7c7a4c993.tar.xz
b43legacy: Convert to use of the new SPROM structure
The b43legacy 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/b43legacy/leds.c')
-rw-r--r--drivers/net/wireless/b43legacy/leds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43legacy/leds.c b/drivers/net/wireless/b43legacy/leds.c
index b4319c9..f0affb7 100644
--- a/drivers/net/wireless/b43legacy/leds.c
+++ b/drivers/net/wireless/b43legacy/leds.c
@@ -189,10 +189,10 @@ void b43legacy_leds_init(struct b43legacy_wldev *dev)
enum b43legacy_led_behaviour behaviour;
bool activelow;
- sprom[0] = bus->sprom.r1.gpio0;
- sprom[1] = bus->sprom.r1.gpio1;
- sprom[2] = bus->sprom.r1.gpio2;
- sprom[3] = bus->sprom.r1.gpio3;
+ sprom[0] = bus->sprom.gpio0;
+ sprom[1] = bus->sprom.gpio1;
+ sprom[2] = bus->sprom.gpio2;
+ sprom[3] = bus->sprom.gpio3;
for (i = 0; i < 4; i++) {
if (sprom[i] == 0xFF) {