git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: fix missing error check in probing
[pandora-kernel.git]
/
drivers
/
pcmcia
/
at91_cf.c
diff --git
a/drivers/pcmcia/at91_cf.c
b/drivers/pcmcia/at91_cf.c
index
a0ffb8e
..
9e1140f
100644
(file)
--- a/
drivers/pcmcia/at91_cf.c
+++ b/
drivers/pcmcia/at91_cf.c
@@
-273,7
+273,7
@@
static int __init at91_cf_probe(struct platform_device *pdev)
goto fail0d;
cf->socket.pci_irq = board->irq_pin;
} else
- cf->socket.pci_irq =
NR_IRQS
+ 1;
+ cf->socket.pci_irq =
nr_irqs
+ 1;
/* pcmcia layer only remaps "real" memory not iospace */
cf->socket.io_offset = (unsigned long)