aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bcma
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-02-08 17:11:48 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-03-02 16:59:45 +0200
commit5b6ff664c8959d715e785b9465b042407a5d87a0 (patch)
treecc2ee177894f0d9b6ff4170d544278e7e7ae0f97 /include/linux/bcma
parentbcma: add helpers bringing PCIe hosted bus up / down (diff)
downloadwireguard-linux-5b6ff664c8959d715e785b9465b042407a5d87a0.tar.xz
wireguard-linux-5b6ff664c8959d715e785b9465b042407a5d87a0.zip
bcma: change IRQ control function to accept bus as an argument
It doesn't operate on PCI core, but PCI host device, so there is no point of passing core related struct. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/bcma')
-rw-r--r--include/linux/bcma/bcma_driver_pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma_driver_pci.h b/include/linux/bcma/bcma_driver_pci.h
index 23af893e9b86..6b8bca67851f 100644
--- a/include/linux/bcma/bcma_driver_pci.h
+++ b/include/linux/bcma/bcma_driver_pci.h
@@ -240,7 +240,7 @@ struct bcma_drv_pci {
extern void bcma_core_pci_early_init(struct bcma_drv_pci *pc);
extern void bcma_core_pci_init(struct bcma_drv_pci *pc);
-extern int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc,
+extern int bcma_core_pci_irq_ctl(struct bcma_bus *bus,
struct bcma_device *core, bool enable);
extern void bcma_core_pci_power_save(struct bcma_bus *bus, bool up);