summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorRodrigo R. Galvao <rosattig@linux.vnet.ibm.com>2018-08-06 13:42:03 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-08 00:32:36 +1000
commitbadf436f6fa5dc864d579d73fe75386b743470c0 (patch)
treeb70be73b661b5acc8d1c84cd315773164a6d5b49 /arch/powerpc/sysdev
parentf8db2007ff5838aff696bd4297eefcc77af2cf46 (diff)
downloadlinux-badf436f6fa5dc864d579d73fe75386b743470c0.tar.gz
linux-badf436f6fa5dc864d579d73fe75386b743470c0.tar.bz2
linux-badf436f6fa5dc864d579d73fe75386b743470c0.zip
powerpc/Makefiles: Convert ifeq to ifdef where possible
In Makefiles if we're testing a CONFIG_FOO symbol for equality with 'y' we can instead just use ifdef. The latter reads easily, so convert to it where possible. Signed-off-by: Rodrigo R. Galvao <rosattig@linux.vnet.ibm.com> Reviewed-by: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index ea2f595b5133..f730539074c4 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -48,7 +48,7 @@ obj-$(CONFIG_UCODE_PATCH) += micropatch.o
obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o
-ifeq ($(CONFIG_SUSPEND),y)
+ifdef CONFIG_SUSPEND
obj-$(CONFIG_6xx) += 6xx-suspend.o
endif