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
b6c896182c
commit
734b7f5d9d
@ -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…
x
Reference in New Issue
Block a user