summaryrefslogtreecommitdiffstats
path: root/include/linux/bcma
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-26 00:09:19 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-09-30 13:17:14 -0400
commit2101e533f41a90b25bee17ce969734e26eb0eb55 (patch)
tree359f7ca110591aa3805bd628d4d4da5440c774ed /include/linux/bcma
parent7e174833dec99ca901241730efa84029c4047bae (diff)
downloadtalos-op-linux-2101e533f41a90b25bee17ce969734e26eb0eb55.tar.gz
talos-op-linux-2101e533f41a90b25bee17ce969734e26eb0eb55.zip
bcma: register bcma as device tree driver
This driver is used by the bcm53xx ARM SoC code. Now it is possible to give the address of the chipcommon core in device tree and bcma will search for all the other cores. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma')
-rw-r--r--include/linux/bcma/bcma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h
index 634597917670..729f48e6b20b 100644
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -323,6 +323,8 @@ struct bcma_bus {
struct pci_dev *host_pci;
/* Pointer to the SDIO device (only for BCMA_HOSTTYPE_SDIO) */
struct sdio_func *host_sdio;
+ /* Pointer to platform device (only for BCMA_HOSTTYPE_SOC) */
+ struct platform_device *host_pdev;
};
struct bcma_chipinfo chipinfo;
OpenPOWER on IntegriCloud