diff options
Diffstat (limited to 'drivers/bcma/driver_pci.c')
-rw-r--r-- | drivers/bcma/driver_pci.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c index 786666488a2d..cf92bfa7eae0 100644 --- a/drivers/bcma/driver_pci.c +++ b/drivers/bcma/driver_pci.c | |||
@@ -328,28 +328,12 @@ static void bcma_core_pci_extend_L1timer(struct bcma_drv_pci *pc, bool extend) | |||
328 | bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_PMTHRESHREG); | 328 | bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_PMTHRESHREG); |
329 | } | 329 | } |
330 | 330 | ||
331 | void bcma_core_pci_up(struct bcma_bus *bus) | 331 | void bcma_core_pci_up(struct bcma_drv_pci *pc) |
332 | { | 332 | { |
333 | struct bcma_drv_pci *pc; | ||
334 | |||
335 | if (bus->hosttype != BCMA_HOSTTYPE_PCI) | ||
336 | return; | ||
337 | |||
338 | pc = &bus->drv_pci[0]; | ||
339 | |||
340 | bcma_core_pci_extend_L1timer(pc, true); | 333 | bcma_core_pci_extend_L1timer(pc, true); |
341 | } | 334 | } |
342 | EXPORT_SYMBOL_GPL(bcma_core_pci_up); | ||
343 | 335 | ||
344 | void bcma_core_pci_down(struct bcma_bus *bus) | 336 | void bcma_core_pci_down(struct bcma_drv_pci *pc) |
345 | { | 337 | { |
346 | struct bcma_drv_pci *pc; | ||
347 | |||
348 | if (bus->hosttype != BCMA_HOSTTYPE_PCI) | ||
349 | return; | ||
350 | |||
351 | pc = &bus->drv_pci[0]; | ||
352 | |||
353 | bcma_core_pci_extend_L1timer(pc, false); | 338 | bcma_core_pci_extend_L1timer(pc, false); |
354 | } | 339 | } |
355 | EXPORT_SYMBOL_GPL(bcma_core_pci_down); | ||