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:
manu 2018-04-27 21:05:18 +00:00
parent b6c896182c
commit 734b7f5d9d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);