Skip to content

Commit

Permalink
[CRYPTO] geode: Convert pci_module_init() to pci_register_driver()
Browse files Browse the repository at this point in the history
Replace uses of the obsolete pci_module_init function.

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Richard Knutsson authored and Herbert Xu committed Feb 6, 2007
1 parent 78a1fe4 commit 09cb914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/geode-aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static struct pci_driver geode_aes_driver = {
static int __init
geode_aes_init(void)
{
return pci_module_init(&geode_aes_driver);
return pci_register_driver(&geode_aes_driver);
}

static void __exit
Expand Down

0 comments on commit 09cb914

Please sign in to comment.