summaryrefslogtreecommitdiff
path: root/drivers/bcma/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-11 18:44:25 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-02-11 18:44:25 +0100
commit78f42aee884dedfd157f79d01f069550edbc95cf (patch)
tree1f0b6a91c06cae83a647a076377d3279f7a9fb78 /drivers/bcma/main.c
parentaa5a1b8e68c95151fd249a3b5ec444c6b0aa2f1c (diff)
parent8708aac79e4572ba673d7a21e94ddca9f3abb7fc (diff)
Merge remote-tracking branch 'wireless-next/master' into HEAD
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r--drivers/bcma/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index d12b7da556e18..95ba5756c67e2 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -149,6 +149,14 @@ static int bcma_register_cores(struct bcma_bus *bus)
dev_id++;
}
+#ifdef CONFIG_BCMA_DRIVER_MIPS
+ if (bus->drv_cc.pflash.present) {
+ err = platform_device_register(&bcma_pflash_dev);
+ if (err)
+ bcma_err(bus, "Error registering parallel flash\n");
+ }
+#endif
+
#ifdef CONFIG_BCMA_SFLASH
if (bus->drv_cc.sflash.present) {
err = platform_device_register(&bcma_sflash_dev);