Commit 53618327 authored by Huacai Chen's avatar Huacai Chen Committed by Ralf Baechle

MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.

Now LOONGSON_CHIPCFG register definition doesn't depend on CPUFREQ any
more, so CPU_SUPPORTS_CPUFREQ is no longer needed for suspend/resume.
Remove CONFIG_LOONGSON_SUSPEND and use CONFIG_SUSPEND instead.
Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.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/11274/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 08b3c894
...@@ -120,11 +120,6 @@ config RS780_HPET ...@@ -120,11 +120,6 @@ config RS780_HPET
If unsure, say Yes. If unsure, say Yes.
config LOONGSON_SUSPEND
bool
default y
depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
config LOONGSON_UART_BASE config LOONGSON_UART_BASE
bool bool
default y default y
......
...@@ -23,7 +23,7 @@ obj-$(CONFIG_CS5536) += cs5536/ ...@@ -23,7 +23,7 @@ obj-$(CONFIG_CS5536) += cs5536/
# Suspend Support # Suspend Support
# #
obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o obj-$(CONFIG_SUSPEND) += pm.o
# #
# Big Memory (SWIOTLB) Support # Big Memory (SWIOTLB) Support
......
...@@ -8,4 +8,4 @@ obj-y += clock.o machtype.o irq.o reset.o ec_kb3310b.o ...@@ -8,4 +8,4 @@ obj-y += clock.o machtype.o irq.o reset.o ec_kb3310b.o
# Suspend Support # Suspend Support
# #
obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o obj-$(CONFIG_SUSPEND) += pm.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment