Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37
Commit:     28b57cddb3ed4f7999e4b76ef36ebaaf6e2e0c37
Parent:     54d33c4c715b80cc022b8e4974a4de693c96fc99
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Fri Apr 27 01:48:01 2007 +0200
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 23:34:21 2007 +0100

    [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init()
    
    This patch converts the pci_module_init() usage to pci_register_driver().
    
    It's currently #if 0'ed, but still not a bad idea to change it.
    
    Signed-off-by: Adrian Bunk <[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 3d4a4d8..688ef49 100644
--- a/drivers/mtd/maps/ck804xrom.c
+++ b/drivers/mtd/maps/ck804xrom.c
@@ -338,7 +338,7 @@ static int __init init_ck804xrom(void)
        }
        return -ENXIO;
 #if 0
-       return pci_module_init(&ck804xrom_driver);
+       return pci_register_driver(&ck804xrom_driver);
 #endif
 }
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to