diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-07-05 21:48:26 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-07 21:13:34 +0400 |
commit | 9352f69c9194f1dcb3e096377e5c4804ab1bb5fb (patch) | |
tree | a7159ee211970fe0c75fa1a864c39d3ebc5c731b /drivers/bcma/bcma_private.h | |
parent | f0c717e6b7ac032e89611fa7629a1fff57e7667a (diff) | |
download | linux-9352f69c9194f1dcb3e096377e5c4804ab1bb5fb.tar.xz |
bcma: detect PCI core working in hostmode
We must not init it like clientmode one, it would break device (tested
by Hauke on BCM4718). Add stub hostmode driver for now.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r-- | drivers/bcma/bcma_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h index 4228736de0e8..e02ff21835c9 100644 --- a/drivers/bcma/bcma_private.h +++ b/drivers/bcma/bcma_private.h @@ -28,4 +28,8 @@ extern int __init bcma_host_pci_init(void); extern void __exit bcma_host_pci_exit(void); #endif /* CONFIG_BCMA_HOST_PCI */ +#ifdef CONFIG_BCMA_DRIVER_PCI_HOSTMODE +void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc); +#endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */ + #endif |