diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-03-03 11:48:55 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-03-03 11:48:55 -0500 |
commit | e76ecf86da99383f59f4c85f594403c5c3c1fe91 (patch) | |
tree | 636da32901389047478200e4cc4152afe92c32ee /drivers/ide | |
parent | 06a9952b8379c48df972023f648014a82582c23a (diff) |
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 <ricknu-0@student.ltu.se>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/delkin_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index e2672fc65d30..d4b753e70119 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c | |||
@@ -122,7 +122,7 @@ static struct pci_driver driver = { | |||
122 | static int | 122 | static int |
123 | delkin_cb_init (void) | 123 | delkin_cb_init (void) |
124 | { | 124 | { |
125 | return pci_module_init(&driver); | 125 | return pci_register_driver(&driver); |
126 | } | 126 | } |
127 | 127 | ||
128 | static void | 128 | static void |