aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/bcma/bcma.h5
-rw-r--r--include/linux/bcma/bcma_soc.h16
2 files changed, 20 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h
index e31c9b462221..c70cec59d80e 100644
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -14,9 +14,9 @@ struct bcma_device;
14struct bcma_bus; 14struct bcma_bus;
15 15
16enum bcma_hosttype { 16enum bcma_hosttype {
17 BCMA_HOSTTYPE_NONE,
18 BCMA_HOSTTYPE_PCI, 17 BCMA_HOSTTYPE_PCI,
19 BCMA_HOSTTYPE_SDIO, 18 BCMA_HOSTTYPE_SDIO,
19 BCMA_HOSTTYPE_SOC,
20}; 20};
21 21
22struct bcma_chipinfo { 22struct bcma_chipinfo {
@@ -138,6 +138,9 @@ struct bcma_device {
138 u32 addr; 138 u32 addr;
139 u32 wrap; 139 u32 wrap;
140 140
141 void __iomem *io_addr;
142 void __iomem *io_wrap;
143
141 void *drvdata; 144 void *drvdata;
142 struct list_head list; 145 struct list_head list;
143}; 146};
diff --git a/include/linux/bcma/bcma_soc.h b/include/linux/bcma/bcma_soc.h
new file mode 100644
index 000000000000..4203c5593b9f
--- /dev/null
+++ b/include/linux/bcma/bcma_soc.h
@@ -0,0 +1,16 @@
1#ifndef LINUX_BCMA_SOC_H_
2#define LINUX_BCMA_SOC_H_
3
4#include <linux/bcma/bcma.h>
5
6struct bcma_soc {
7 struct bcma_bus bus;
8 struct bcma_device core_cc;
9 struct bcma_device core_mips;
10};
11
12int __init bcma_host_soc_register(struct bcma_soc *soc);
13
14int bcma_bus_register(struct bcma_bus *bus);
15
16#endif /* LINUX_BCMA_SOC_H_ */