cpufreq-acpi: rename
RFC PATCH 1/1 cpufreq-acpi: rename
NOTE: For this patch to work you need to move the file arch/i386/kernel/cpu/cpufreq/acpi.c (in bitkeeper) to arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c _before_ applying this patch. I haven't done it by means of diff -ruN so that the file history can be kept. END NOTE.
The "acpi" cpufreq driver uses the far too generic module name "acpi". Fix it by renaming it to "cpufreq-acpi". A MODULE_ALIAS("acpi"); will allow for backwards-compatible naming until 2005-06-30.
Signed-off-by Dominik Brodowski <[email protected]>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +2 -0
@@ -516,3 +516,5 @@late_initcall (acpi_cpufreq_init);module_exit (acpi_cpufreq_exit); + +MODULE_ALIAS ("acpi" );
arch/i386/kernel/cpu/cpufreq/Makefile +1 -1
@@ -9,7 +9,7 @@ obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o -obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi.o +obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o ifdef CONFIG_X86_ACPI_CPUFREQ
arch/x86_64/kernel/cpufreq/Makefile +2 -2
@@ -6,8 +6,8 @@ obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o -obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi.o +obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o powernow-k8-objs := ${SRCDIR}/powernow-k8.o speedstep-centrino-objs := ${SRCDIR}/speedstep-centrino.o -acpi-objs := ${SRCDIR}/acpi.o +acpi-objs := ${SRCDIR}/acpi-cpufreq.o