From: Richard Knutsson Date: Sat, 3 Mar 2007 16:48:55 +0000 (+0100) Subject: ide/pci/delkin_cb.c: pci_module_init to pci_register_driver X-Git-Tag: v2.6.21-rc3~98^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e76ecf86da99383f59f4c85f594403c5c3c1fe91;p=linux-2.6-omap-h63xx.git ide/pci/delkin_cb.c: pci_module_init to pci_register_driver Convert pci_module_init() to pci_register_driver(). [ Compile-tested with "allyes", "allmod" & "allno" on i386. ] Signed-off-by: Richard Knutsson Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index e2672fc65d3..d4b753e7011 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c @@ -122,7 +122,7 @@ static struct pci_driver driver = { static int delkin_cb_init (void) { - return pci_module_init(&driver); + return pci_register_driver(&driver); } static void