arm: Fix duplicate ahci DRIVER_MODULE
Name each ahci driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register simplebus/ahci from kernel; already loaded from kernel
This commit is contained in:
parent
796c03e9e4
commit
fe7cc38a38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333073
@ -392,4 +392,4 @@ static driver_t ahci_ata_driver = {
|
||||
sizeof(struct ahci_controller)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ahci, simplebus, ahci_ata_driver, ahci_devclass, 0, 0);
|
||||
DRIVER_MODULE(a10_ahci, simplebus, ahci_ata_driver, ahci_devclass, 0, 0);
|
||||
|
@ -353,4 +353,4 @@ static driver_t ahci_ata_driver = {
|
||||
sizeof(struct ahci_controller)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ahci, simplebus, ahci_ata_driver, ahci_devclass, 0, 0);
|
||||
DRIVER_MODULE(imx6_ahci, simplebus, ahci_ata_driver, ahci_devclass, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user