diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-05-18 04:06:40 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-01 23:10:57 +0400 |
commit | a18c715e63505850edd2b69ded5373d6d464cd80 (patch) | |
tree | 9f248a7f220e195ff1a4bea6cd71cf372092b466 /drivers/net/wireless/b43/leds.c | |
parent | 0581483afe1a6f90f828b36111b05a70c162137d (diff) | |
download | linux-a18c715e63505850edd2b69ded5373d6d464cd80.tar.xz |
b43: bus: abstract device structs and irq
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/leds.c b/drivers/net/wireless/b43/leds.c index 26d37ef01084..70bcf4276146 100644 --- a/drivers/net/wireless/b43/leds.c +++ b/drivers/net/wireless/b43/leds.c @@ -138,7 +138,7 @@ static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, led->led_dev.default_trigger = default_trigger; led->led_dev.brightness_set = b43_led_brightness_set; - err = led_classdev_register(dev->sdev->dev, &led->led_dev); + err = led_classdev_register(dev->dev->dev, &led->led_dev); if (err) { b43warn(dev->wl, "LEDs: Failed to register %s\n", name); led->wl = NULL; |