mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +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
@ -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 New Issue
Block a user