diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-01-31 12:00:28 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-01-31 12:26:02 -0500 |
commit | c033a7e3d593554ba5e8a0e63bf7e5874dc3e92f (patch) | |
tree | b5be98ed6945a2620d6250505e49ea662d2229d1 /drivers/mtd/maps/ck804xrom.c | |
parent | f7c37d7b8aaab1b023b0b239fc632585ec88d0bc (diff) |
[MTD] ck804xrom: fix a pci_find_device
Going over the bugs and warnings I found this one left over. The other
changes have already been correctly done for this driver but the actual
switch to pci_get_device that they assume has not.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/maps/ck804xrom.c')
-rw-r--r-- | drivers/mtd/maps/ck804xrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index 238d42e88ec5..68ed02ecb2ec 100644 --- a/drivers/mtd/maps/ck804xrom.c +++ b/drivers/mtd/maps/ck804xrom.c | |||
@@ -327,7 +327,7 @@ static int __init init_ck804xrom(void) | |||
327 | pdev = NULL; | 327 | pdev = NULL; |
328 | 328 | ||
329 | for(id = ck804xrom_pci_tbl; id->vendor; id++) { | 329 | for(id = ck804xrom_pci_tbl; id->vendor; id++) { |
330 | pdev = pci_find_device(id->vendor, id->device, NULL); | 330 | pdev = pci_get_device(id->vendor, id->device, NULL); |
331 | if (pdev) | 331 | if (pdev) |
332 | break; | 332 | break; |
333 | } | 333 | } |