diff options
Diffstat (limited to 'drivers/net/wireless/b43/pcmcia.c')
-rw-r--r-- | drivers/net/wireless/b43/pcmcia.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/pcmcia.c b/drivers/net/wireless/b43/pcmcia.c index 371e4a119511..b8aa16307f79 100644 --- a/drivers/net/wireless/b43/pcmcia.c +++ b/drivers/net/wireless/b43/pcmcia.c | |||
@@ -43,14 +43,16 @@ MODULE_DEVICE_TABLE(pcmcia, b43_pcmcia_tbl); | |||
43 | #ifdef CONFIG_PM | 43 | #ifdef CONFIG_PM |
44 | static int b43_pcmcia_suspend(struct pcmcia_device *dev) | 44 | static int b43_pcmcia_suspend(struct pcmcia_device *dev) |
45 | { | 45 | { |
46 | //TODO | 46 | struct ssb_bus *ssb = dev->priv; |
47 | return 0; | 47 | |
48 | return ssb_bus_suspend(ssb); | ||
48 | } | 49 | } |
49 | 50 | ||
50 | static int b43_pcmcia_resume(struct pcmcia_device *dev) | 51 | static int b43_pcmcia_resume(struct pcmcia_device *dev) |
51 | { | 52 | { |
52 | //TODO | 53 | struct ssb_bus *ssb = dev->priv; |
53 | return 0; | 54 | |
55 | return ssb_bus_resume(ssb); | ||
54 | } | 56 | } |
55 | #else /* CONFIG_PM */ | 57 | #else /* CONFIG_PM */ |
56 | # define b43_pcmcia_suspend NULL | 58 | # define b43_pcmcia_suspend NULL |