]> err.no Git - linux-2.6/commitdiff
[CRYPTO] geode: Convert pci_module_init() to pci_register_driver()
authorRichard Knutsson <ricknu-0@student.ltu.se>
Wed, 24 Jan 2007 10:39:34 +0000 (21:39 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Feb 2007 22:21:02 +0000 (09:21 +1100)
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>
drivers/crypto/geode-aes.c

index 43a68398656f57f5c208897229de8249a557bc8e..31ea405f2eeb5fbe8d8fdb94b0f785f58729208f 100644 (file)
@@ -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