From: Richard Knutsson Date: Wed, 24 Jan 2007 10:39:34 +0000 (+1100) Subject: [CRYPTO] geode: Convert pci_module_init() to pci_register_driver() X-Git-Tag: v2.6.21-rc1~83^2~65^2~2^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cb914f096bd38b22341af291236b65cf55ceee;p=linux-2.6 [CRYPTO] geode: Convert pci_module_init() to pci_register_driver() Replace uses of the obsolete pci_module_init function. Signed-off-by: Richard Knutsson Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c index 43a6839865..31ea405f2e 100644 --- a/drivers/crypto/geode-aes.c +++ b/drivers/crypto/geode-aes.c @@ -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