Change name of Marvell Armada38x RTC driver
Two modules with the same name cannot be loaded, so Marvell specific drivers cannot have the same name as generic drivers. Files with the same name, even in different folder overlaps their .o files. Change armada38x/rtc.c to armada38x/armada38x_rtc.c fix it. Preparation for adding this driver to GENERIC config for ARMv7 Marvell platforms. Submitted by: Rafal Kozik <rk@semihalf.com> Obtained from: Semihalf Sponsored by: Semihalf Differential Revision: https://reviews.freebsd.org/D12185
This commit is contained in:
parent
0f3af0411d
commit
cb0c98fce0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323171
@ -48,6 +48,9 @@ device neta
|
||||
# PCI
|
||||
device pci
|
||||
|
||||
# RTC
|
||||
device mv_rtc
|
||||
|
||||
# Interrupt controllers
|
||||
device gic
|
||||
options INTRNG
|
||||
|
@ -128,7 +128,7 @@ static driver_t mv_rtc_driver = {
|
||||
|
||||
static devclass_t mv_rtc_devclass;
|
||||
|
||||
DRIVER_MODULE(mv_rtc, simplebus, mv_rtc_driver, mv_rtc_devclass, 0, 0);
|
||||
DRIVER_MODULE(a38x_rtc, simplebus, mv_rtc_driver, mv_rtc_devclass, 0, 0);
|
||||
|
||||
static void
|
||||
mv_rtc_reset(device_t dev)
|
@ -7,6 +7,6 @@ arm/mv/armada/wdt.c optional fdt
|
||||
arm/mv/armada38x/armada38x.c standard
|
||||
arm/mv/armada38x/armada38x_mp.c optional smp
|
||||
arm/mv/armada38x/pmsu.c standard
|
||||
arm/mv/armada38x/rtc.c standard
|
||||
arm/mv/armada38x/armada38x_rtc.c optional mv_rtc fdt
|
||||
arm/mv/armada38x/armada38x_pl310.c optional pl310
|
||||
dev/sdhci/sdhci_fdt.c optional sdhci
|
||||
|
Loading…
Reference in New Issue
Block a user