diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2007-11-09 16:57:18 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:04:42 -0800 |
commit | 95de2841aad971867851b59c0c5253ecc2e19832 (patch) | |
tree | df6a79322a1f7b8992d38ca7d02502e0ded31b3f /drivers/net/wireless/b43/leds.c | |
parent | 458414b2e3d9dd7ee4510d18c119a7ccd3b43ec5 (diff) | |
download | lwn-95de2841aad971867851b59c0c5253ecc2e19832.tar.gz lwn-95de2841aad971867851b59c0c5253ecc2e19832.zip |
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.c | 8 |
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) enum b43_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) { |