projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c2676b
)
pata_sil680: remove duplicate pcim_enable_device
author
David Milburn
<dmilburn@redhat.com>
Fri, 29 Aug 2008 15:36:28 +0000
(10:36 -0500)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 8 Sep 2008 16:15:41 +0000
(12:15 -0400)
Remove duplicate call to pcim_enable_device in sil680_init_one.
Signed-off-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_sil680.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_sil680.c
b/drivers/ata/pata_sil680.c
index
720b864
..
e970b22
100644
(file)
--- a/
drivers/ata/pata_sil680.c
+++ b/
drivers/ata/pata_sil680.c
@@
-322,9
+322,6
@@
static int __devinit sil680_init_one(struct pci_dev *pdev,
/* Try to acquire MMIO resources and fallback to PIO if
* that fails
*/
- rc = pcim_enable_device(pdev);
- if (rc)
- return rc;
rc = pcim_iomap_regions(pdev, 1 << SIL680_MMIO_BAR, DRV_NAME);
if (rc)
goto use_ioports;