Skip to content

Commit

Permalink
ide/pci/delkin_cb.c: pci_module_init to pci_register_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Knutsson authored and Bartlomiej Zolnierkiewicz committed Mar 3, 2007
1 parent 06a9952 commit e76ecf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/pci/delkin_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e76ecf8

Please sign in to comment.