diff options
Diffstat (limited to 'drivers/bcma/host_pci.c')
-rw-r--r-- | drivers/bcma/host_pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c index 443b83a2fd7a..c1ca9e3ada5c 100644 --- a/drivers/bcma/host_pci.c +++ b/drivers/bcma/host_pci.c | |||
@@ -237,11 +237,14 @@ static void bcma_host_pci_remove(struct pci_dev *dev) | |||
237 | #ifdef CONFIG_PM | 237 | #ifdef CONFIG_PM |
238 | static int bcma_host_pci_suspend(struct pci_dev *dev, pm_message_t state) | 238 | static int bcma_host_pci_suspend(struct pci_dev *dev, pm_message_t state) |
239 | { | 239 | { |
240 | struct bcma_bus *bus = pci_get_drvdata(dev); | ||
241 | |||
240 | /* Host specific */ | 242 | /* Host specific */ |
241 | pci_save_state(dev); | 243 | pci_save_state(dev); |
242 | pci_disable_device(dev); | 244 | pci_disable_device(dev); |
243 | pci_set_power_state(dev, pci_choose_state(dev, state)); | 245 | pci_set_power_state(dev, pci_choose_state(dev, state)); |
244 | 246 | ||
247 | bus->mapped_core = NULL; | ||
245 | return 0; | 248 | return 0; |
246 | } | 249 | } |
247 | 250 | ||