git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MTD] ck804xrom: fix a pci_find_device
[sfrench/cifs-2.6.git]
/
drivers
/
mtd
/
maps
/
ck804xrom.c
diff --git
a/drivers/mtd/maps/ck804xrom.c
b/drivers/mtd/maps/ck804xrom.c
index 238d42e88ec52eeb050276480d9dcc1e7759a003..68ed02ecb2ec7d9faafd236f419faeaf6a9a27c3 100644
(file)
--- a/
drivers/mtd/maps/ck804xrom.c
+++ b/
drivers/mtd/maps/ck804xrom.c
@@
-327,7
+327,7
@@
static int __init init_ck804xrom(void)
pdev = NULL;
for(id = ck804xrom_pci_tbl; id->vendor; id++) {
- pdev = pci_
find
_device(id->vendor, id->device, NULL);
+ pdev = pci_
get
_device(id->vendor, id->device, NULL);
if (pdev)
break;
}