mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +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
|
static int __init
|
||||||
geode_aes_init(void)
|
geode_aes_init(void)
|
||||||
{
|
{
|
||||||
return pci_module_init(&geode_aes_driver);
|
return pci_register_driver(&geode_aes_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __exit
|
static void __exit
|
||||||
|
Loading…
Reference in New Issue
Block a user