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
ACPI: delete acpi_os_free(), use kfree() directly
[pandora-kernel.git]
/
drivers
/
pcmcia
/
omap_cf.c
diff --git
a/drivers/pcmcia/omap_cf.c
b/drivers/pcmcia/omap_cf.c
index
47b5ade
..
2c23d75
100644
(file)
--- a/
drivers/pcmcia/omap_cf.c
+++ b/
drivers/pcmcia/omap_cf.c
@@
-218,7
+218,7
@@
static int __init omap_cf_probe(struct device *dev)
/* either CFLASH.IREQ (INT_1610_CF) or some GPIO */
irq = platform_get_irq(pdev, 0);
- if (
!irq
)
+ if (
irq < 0
)
return -EINVAL;
cf = kcalloc(1, sizeof *cf, GFP_KERNEL);