projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/drivers/ata/pata_sil680.c
b/drivers/ata/pata_sil680.c
index 720b8645f58a3121d96112f60e03625fd12de8bc..e970b227fbce39037b4f14879eb4152056df59a5 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;