aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/Makefile
diff options
context:
space:
mode:
authorAisheng Dong <aisheng.dong@nxp.com>2018-12-13 15:42:50 +0000
committerStephen Boyd <sboyd@kernel.org>2018-12-13 22:12:46 -0800
commit3a48d918a4615f0287ac2e106981b3987bf75a3d (patch)
tree5445e3c40f326310dd5807a883ab002b0bba409d /drivers/clk/imx/Makefile
parentdt-bindings: clock: add imx8qxp lpcg clock binding (diff)
downloadlinux-dev-3a48d918a4615f0287ac2e106981b3987bf75a3d.tar.xz
linux-dev-3a48d918a4615f0287ac2e106981b3987bf75a3d.zip
clk: imx: add configuration option for mmio clks
The patch introduces CONFIG_MXC_CLK option for legacy MMIO clocks, this is required to compile legacy MMIO clock conditionally when adding SCU based clocks for MX8 platforms later. Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/imx/Makefile')
-rw-r--r--drivers/clk/imx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/Makefile b/drivers/clk/imx/Makefile
index 8c3baa7e6496..d447f8c0500b 100644
--- a/drivers/clk/imx/Makefile
+++ b/drivers/clk/imx/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y += \
+obj-$(CONFIG_MXC_CLK) += \
clk.o \
clk-busy.o \
clk-cpu.o \