diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2007-11-09 17:57:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:43 -0500 |
commit | 7797aa384870e3bb5bfd3b6a0eae61e7c7a4c993 (patch) | |
tree | 9d48b112dc1c973a17860fe39e82554724f7ed4b /drivers/net/wireless/b43legacy/leds.c | |
parent | 95de2841aad971867851b59c0c5253ecc2e19832 (diff) |
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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43legacy/leds.c b/drivers/net/wireless/b43legacy/leds.c index b4319c99cf70..f0affb781002 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) | |||
189 | enum b43legacy_led_behaviour behaviour; | 189 | enum b43legacy_led_behaviour behaviour; |
190 | bool activelow; | 190 | bool activelow; |
191 | 191 | ||
192 | sprom[0] = bus->sprom.r1.gpio0; | 192 | sprom[0] = bus->sprom.gpio0; |
193 | sprom[1] = bus->sprom.r1.gpio1; | 193 | sprom[1] = bus->sprom.gpio1; |
194 | sprom[2] = bus->sprom.r1.gpio2; | 194 | sprom[2] = bus->sprom.gpio2; |
195 | sprom[3] = bus->sprom.r1.gpio3; | 195 | sprom[3] = bus->sprom.gpio3; |
196 | 196 | ||
197 | for (i = 0; i < 4; i++) { | 197 | for (i = 0; i < 4; i++) { |
198 | if (sprom[i] == 0xFF) { | 198 | if (sprom[i] == 0xFF) { |