summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds2012-01-17 19:49:06 +0100
committerLinus Torvalds2012-01-17 19:49:06 +0100
commit8364919c5698d934860aabc607ffd32b13c8c37c (patch)
tree8d11db5c61d442f9bfc4499e56353ac120af6f8b /drivers
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff)
parentUSB: EHCI: Don't use NO_IRQ in xilinx ehci driver (diff)
downloadkernel-qcow2-linux-8364919c5698d934860aabc607ffd32b13c8c37c.tar.gz
kernel-qcow2-linux-8364919c5698d934860aabc607ffd32b13c8c37c.tar.xz
kernel-qcow2-linux-8364919c5698d934860aabc607ffd32b13c8c37c.zip
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
* 'next' of git://git.monstr.eu/linux-2.6-microblaze: USB: EHCI: Don't use NO_IRQ in xilinx ehci driver microblaze: Add topology init
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ehci-xilinx-of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c
index 32793ce3d9e9..9c2cc4633894 100644
--- a/drivers/usb/host/ehci-xilinx-of.c
+++ b/drivers/usb/host/ehci-xilinx-of.c
@@ -183,7 +183,7 @@ static int __devinit ehci_hcd_xilinx_of_probe(struct platform_device *op)
}
irq = irq_of_parse_and_map(dn, 0);
- if (irq == NO_IRQ) {
+ if (!irq) {
printk(KERN_ERR "%s: irq_of_parse_and_map failed\n", __FILE__);
rv = -EBUSY;
goto err_irq;