diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-07-05 19:48:26 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-07 13:13:34 -0400 |
commit | 9352f69c9194f1dcb3e096377e5c4804ab1bb5fb (patch) | |
tree | a7159ee211970fe0c75fa1a864c39d3ebc5c731b /drivers/bcma/driver_pci_host.c | |
parent | f0c717e6b7ac032e89611fa7629a1fff57e7667a (diff) |
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/driver_pci_host.c')
-rw-r--r-- | drivers/bcma/driver_pci_host.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c new file mode 100644 index 000000000000..eb332b75ce83 --- /dev/null +++ b/drivers/bcma/driver_pci_host.c @@ -0,0 +1,14 @@ +/* + * Broadcom specific AMBA + * PCI Core in hostmode + * + * Licensed under the GNU/GPL. See COPYING for details. + */ + +#include "bcma_private.h" +#include <linux/bcma/bcma.h> + +void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc) +{ + pr_err("No support for PCI core in hostmode yet\n"); +} |