X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fssb%2Fdriver_pcicore.c;h=538c570df3373e147c399a2d0907cf3b20d16762;hb=23d5f96ce6571da51c0f6bfa7361e5f91f314b2b;hp=d28c53868093ce533c88e9b88a80334d9ac5ebca;hpb=cb9aa97c21c59ad01c9514d7faf45dc166fba226;p=linux-2.6-omap-h63xx.git diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c index d28c5386809..538c570df33 100644 --- a/drivers/ssb/driver_pcicore.c +++ b/drivers/ssb/driver_pcicore.c @@ -537,6 +537,13 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc, int err = 0; u32 tmp; + if (dev->bus->bustype != SSB_BUSTYPE_PCI) { + /* This SSB device is not on a PCI host-bus. So the IRQs are + * not routed through the PCI core. + * So we must not enable routing through the PCI core. */ + goto out; + } + if (!pdev) goto out; bus = pdev->bus;