projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c233a08
)
broadcom-wl: get the mmio address directly from the struct if bcma is used.
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 2 Dec 2012 16:07:43 +0000
(16:07 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 2 Dec 2012 16:07:43 +0000
(16:07 +0000)
SVN-Revision: 34452
package/broadcom-wl/src/glue/wl_glue.c
patch
|
blob
|
history
diff --git
a/package/broadcom-wl/src/glue/wl_glue.c
b/package/broadcom-wl/src/glue/wl_glue.c
index 0504232a96a9678fa97fa078fb0aaa5d7a7c4986..bf009e5bbeec0f73c5fdc4c06b9b47d9ae5e187e 100644
(file)
--- a/
package/broadcom-wl/src/glue/wl_glue.c
+++ b/
package/broadcom-wl/src/glue/wl_glue.c
@@
-88,7
+88,6
@@
static struct ssb_driver wl_glue_ssb_driver = {
#ifdef CONFIG_BCMA
static int wl_glue_bcma_probe(struct bcma_device *dev)
{
- void *mmio;
void *wldev;
if (!attach_cb)
@@
-109,8
+108,7
@@
static int wl_glue_bcma_probe(struct bcma_device *dev)
* 0x1000 = BCMA_CORE_SIZE
*/
- mmio = (void *) 0x18000000 + dev->core_index * 0x1000;
- wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)mmio, dev, dev->irq);
+ wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)dev->io_addr, dev, dev->irq);
if (!wldev)
{