Commit:     c033a7e3d593554ba5e8a0e63bf7e5874dc3e92f
Parent:     f7c37d7b8aaab1b023b0b239fc632585ec88d0bc
Author:     Alan <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 31 17:00:28 2007 +0000
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Wed Jan 31 17:26:02 2007 +0000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
 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 238d42e..68ed02e 100644
--- 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)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to