1 --- a/drivers/ssb/main.c
2 +++ b/drivers/ssb/main.c
4 #ifdef CONFIG_SSB_PCIHOST
5 sdev->irq = bus->host_pci->irq;
6 dev->parent = &bus->host_pci->dev;
7 + sdev->dma_dev = dev->parent;
10 case SSB_BUSTYPE_PCMCIA:
14 dev->dma_mask = &dev->coherent_dma_mask;
15 + sdev->dma_dev = dev;
19 --- a/include/linux/ssb/ssb.h
20 +++ b/include/linux/ssb/ssb.h
22 * is an optimization. */
23 const struct ssb_bus_ops *ops;
26 + struct device *dev, *dma_dev;
29 struct ssb_device_id id;