X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fohci-tmio.c;h=08ec2ab0d95a58901436aec69ecec36fce537b19;hb=07281a257a6868b900da5de1eda808c9e20253f1;hp=7f857bad9e95bd5382375e4dafcec00065db567a;hpb=e764a1e32337aaf325fc5b14a5bbd06eabba4699;p=linux-2.6-microblaze.git diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index 7f857bad9e95..08ec2ab0d95a 100644 --- a/drivers/usb/host/ohci-tmio.c +++ b/drivers/usb/host/ohci-tmio.c @@ -202,6 +202,9 @@ static int ohci_hcd_tmio_drv_probe(struct platform_device *dev) if (!cell) return -EINVAL; + if (irq < 0) + return irq; + hcd = usb_create_hcd(&ohci_tmio_hc_driver, &dev->dev, dev_name(&dev->dev)); if (!hcd) { ret = -ENOMEM;