projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb9362
)
sata_inic162x: kill double region requests
author
Tejun Heo
<htejun@gmail.com>
Thu, 15 Mar 2007 16:59:42 +0000
(
01:59
+0900)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 19 Mar 2007 15:56:59 +0000
(11:56 -0400)
Regions are requested twice during initialization causing the second
one to fail. This is regression introduced during iomap conversion.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_inic162x.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_inic162x.c
b/drivers/ata/sata_inic162x.c
index 3193a603d1a159cb99b59e9f7bb705f765d28bda..1e21688bfcf2f4992fd493de5299e5beb679b7c7 100644
(file)
--- a/
drivers/ata/sata_inic162x.c
+++ b/
drivers/ata/sata_inic162x.c
@@
-672,10
+672,6
@@
static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
if (rc)
return rc;
- rc = pci_request_regions(pdev, DRV_NAME);
- if (rc)
- return rc;
-
rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME);
if (rc)
return rc;