Commit a6dd8feb authored by Christophe Lucas's avatar Christophe Lucas Committed by Russell King

[SERIAL] drivers/serial/*: convert to pci_register_driver

Patch from Christophe Lucas

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas
parent eb830c66
......@@ -2241,7 +2241,7 @@ static struct pci_driver serial_pci_driver = {
static int __init serial8250_pci_init(void)
{
return pci_module_init(&serial_pci_driver);
return pci_register_driver(&serial_pci_driver);
}
static void __exit serial8250_pci_exit(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment