Skip to content

Commit

Permalink
MIPS: Loongson: Cleanup CONFIG_LOONGSON_SUSPEND.
Browse files Browse the repository at this point in the history
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: Huacai 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: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Huacai Chen authored and Ralf Baechle committed Nov 11, 2015
1 parent 08b3c89 commit 5361832
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions arch/mips/loongson64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ config RS780_HPET

If unsure, say Yes.

config LOONGSON_SUSPEND
bool
default y
depends on CPU_SUPPORTS_CPUFREQ && SUSPEND

config LOONGSON_UART_BASE
bool
default y
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/loongson64/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ obj-$(CONFIG_CS5536) += cs5536/
# Suspend Support
#

obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
obj-$(CONFIG_SUSPEND) += pm.o

#
# Big Memory (SWIOTLB) Support
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/loongson64/lemote-2f/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ obj-y += clock.o machtype.o irq.o reset.o ec_kb3310b.o
# Suspend Support
#

obj-$(CONFIG_LOONGSON_SUSPEND) += pm.o
obj-$(CONFIG_SUSPEND) += pm.o

0 comments on commit 5361832

Please sign in to comment.