#ifdef CONFIG_BCMA
static int wl_glue_bcma_probe(struct bcma_device *dev)
{
- void *mmio;
void *wldev;
if (!attach_cb)
* 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)
{