MIPS: Loongson-3: Move chipset ACPI code from drivers to arch
SB700/SB710/SB800 chipset ACPI code is mostly Loongson-3 specific routines rather than a "platform driver". Signed-off-by: Huacai Chen <chenhc@lemote.com> Cc: John Crispin <john@phrozen.org> Cc: Steven J. Hill <sjhill@realitydiluted.com> Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11273/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
44896afe21
commit
d051472824
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Makefile for Loongson-3 family machines
|
# Makefile for Loongson-3 family machines
|
||||||
#
|
#
|
||||||
obj-y += irq.o cop2-ex.o platform.o
|
obj-y += irq.o cop2-ex.o platform.o acpi_init.o
|
||||||
|
|
||||||
obj-$(CONFIG_SMP) += smp.o
|
obj-$(CONFIG_SMP) += smp.o
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@ menuconfig MIPS_PLATFORM_DEVICES
|
||||||
|
|
||||||
if MIPS_PLATFORM_DEVICES
|
if MIPS_PLATFORM_DEVICES
|
||||||
|
|
||||||
config MIPS_ACPI
|
|
||||||
bool
|
|
||||||
default y if LOONGSON_MACH3X
|
|
||||||
|
|
||||||
config CPU_HWMON
|
config CPU_HWMON
|
||||||
tristate "Loongson CPU HWMon Driver"
|
tristate "Loongson CPU HWMon Driver"
|
||||||
depends on LOONGSON_MACH3X
|
depends on LOONGSON_MACH3X
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
obj-$(CONFIG_MIPS_ACPI) += acpi_init.o
|
|
||||||
obj-$(CONFIG_CPU_HWMON) += cpu_hwmon.o
|
obj-$(CONFIG_CPU_HWMON) += cpu_hwmon.o
|
||||||
|
|
Loading…
Reference in New Issue