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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=09cb914f096bd38b22341af291236b65cf55ceee;p=linux-beck.git [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 43a68398656f..31ea405f2eeb 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