diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 18:44:25 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 18:44:25 +0100 |
commit | 78f42aee884dedfd157f79d01f069550edbc95cf (patch) | |
tree | 1f0b6a91c06cae83a647a076377d3279f7a9fb78 /drivers/bcma/main.c | |
parent | aa5a1b8e68c95151fd249a3b5ec444c6b0aa2f1c (diff) | |
parent | 8708aac79e4572ba673d7a21e94ddca9f3abb7fc (diff) |
Merge remote-tracking branch 'wireless-next/master' into HEAD
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r-- | drivers/bcma/main.c | 8 |
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); |