aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-01-24 05:39:34 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2007-02-06 17:21:02 -0500
commit09cb914f096bd38b22341af291236b65cf55ceee (patch)
treec24bd19f0e658dbc138dc38ca3f6d71fb9160b46 /drivers
parent78a1fe4f242cbe6b4578e072b75e171b92745afa (diff)
[CRYPTO] geode: Convert pci_module_init() to pci_register_driver()
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/geode-aes.c2
1 files changed, 1 insertions, 1 deletions
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 = {
457static int __init 457static int __init
458geode_aes_init(void) 458geode_aes_init(void)
459{ 459{
460 return pci_module_init(&geode_aes_driver); 460 return pci_register_driver(&geode_aes_driver);
461} 461}
462 462
463static void __exit 463static void __exit