projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ata: sata_mv: Fixes expected number of resources now IRQs are gone
[linux-2.6-microblaze.git]
/
drivers
/
ata
/
sata_mv.c
diff --git
a/drivers/ata/sata_mv.c
b/drivers/ata/sata_mv.c
index
de5bd02
..
e3cff01
100644
(file)
--- a/
drivers/ata/sata_mv.c
+++ b/
drivers/ata/sata_mv.c
@@
-4057,7
+4057,7
@@
static int mv_platform_probe(struct platform_device *pdev)
/*
* Simple resource validation ..
*/
- if (unlikely(pdev->num_resources !=
2
)) {
+ if (unlikely(pdev->num_resources !=
1
)) {
dev_err(&pdev->dev, "invalid number of resources\n");
return -EINVAL;
}