Skip to content

Commit 09cb914

Browse files
Richard Knutssonherbertx
authored andcommitted
[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>
1 parent 78a1fe4 commit 09cb914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/crypto/geode-aes.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ static struct pci_driver geode_aes_driver = {
457457
static int __init
458458
geode_aes_init(void)
459459
{
460-
return pci_module_init(&geode_aes_driver);
460+
return pci_register_driver(&geode_aes_driver);
461461
}
462462

463463
static void __exit

0 commit comments

Comments
 (0)