diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-01-24 05:39:34 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-02-06 17:21:02 -0500 |
commit | 09cb914f096bd38b22341af291236b65cf55ceee (patch) | |
tree | c24bd19f0e658dbc138dc38ca3f6d71fb9160b46 | |
parent | 78a1fe4f242cbe6b4578e072b75e171b92745afa (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>
-rw-r--r-- | drivers/crypto/geode-aes.c | 2 |
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 = { | |||
457 | static int __init | 457 | static int __init |
458 | geode_aes_init(void) | 458 | geode_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 | ||
463 | static void __exit | 463 | static void __exit |