mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[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>
This commit is contained in:
parent
78a1fe4f24
commit
09cb914f09
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue