mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Rename PCI driver struct
This commit is contained in:
parent
5cc5aea95e
commit
39e55a1499
@ -390,7 +390,7 @@ static void mqnic_pci_shutdown(struct pci_dev *pdev)
|
||||
mqnic_pci_remove(pdev);
|
||||
}
|
||||
|
||||
static struct pci_driver pci_driver = {
|
||||
static struct pci_driver mqnic_pci_driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.id_table = mqnic_pci_id_table,
|
||||
.probe = mqnic_pci_probe,
|
||||
@ -400,12 +400,12 @@ static struct pci_driver pci_driver = {
|
||||
|
||||
static int __init mqnic_init(void)
|
||||
{
|
||||
return pci_register_driver(&pci_driver);
|
||||
return pci_register_driver(&mqnic_pci_driver);
|
||||
}
|
||||
|
||||
static void __exit mqnic_exit(void)
|
||||
{
|
||||
pci_unregister_driver(&pci_driver);
|
||||
pci_unregister_driver(&mqnic_pci_driver);
|
||||
}
|
||||
|
||||
module_init(mqnic_init);
|
||||
|
Loading…
x
Reference in New Issue
Block a user