summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/bcma_private.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-10-03 17:00:24 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-10-27 14:16:13 -0400
commitab54bc8460b5730ce4d2b50f5b928b230ec994d9 (patch)
treebb8f4fb0e8544504ab2a68a137963c316d6a347a /drivers/bcma/bcma_private.h
parent490f0dc4d52a01904cead9dd2fa57956ca737eb7 (diff)
downloadtalos-op-linux-ab54bc8460b5730ce4d2b50f5b928b230ec994d9.tar.gz
talos-op-linux-ab54bc8460b5730ce4d2b50f5b928b230ec994d9.zip
bcma: fill core details for every device
We were setting things like dma_dev, IRQ, etc. during core registration only. We need such info for cores handled internally (e.g. ChipCommon) as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r--drivers/bcma/bcma_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h
index b6412b2d748d..314ae4032f3e 100644
--- a/drivers/bcma/bcma_private.h
+++ b/drivers/bcma/bcma_private.h
@@ -24,6 +24,7 @@ struct bcma_bus;
/* main.c */
bool bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value,
int timeout);
+void bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core);
int bcma_bus_register(struct bcma_bus *bus);
void bcma_bus_unregister(struct bcma_bus *bus);
int __init bcma_bus_early_register(struct bcma_bus *bus,
OpenPOWER on IntegriCloud