summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorCedric Neveux <cedric.neveux@nxp.com>2018-12-13 13:14:25 +0100
committerSilvano di Ninno <silvano.dininno@nxp.com>2020-07-23 11:22:57 +0200
commit9743a158336c633936d7073abb106d1483bd0346 (patch)
tree44da3c3f8713511dd7af9bb1f199c34218844e5b /arch/arm/mach-imx
parent6814a47113079eed973340858dd1238414c54ee0 (diff)
MLK-20582 Fix busfreq compilation CONFIG_OPTEE=n
Compilation error with busfreq optee when CONFIG_OPTEE=n Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com> Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com> Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> (cherry picked from commit db9e345f9bd67048bcb17d9df306b35f64abbb14)
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 84c831b5caff..1a75a019b163 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -133,9 +133,9 @@ obj-$(CONFIG_SOC_VF610) += mach-vf610.o
obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o
-ifneq ($(CONFIG_OPTEE)$(CONFIG_SOC_IMX6)$(CONFIG_SOC_IMX7),)
+ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_IMX7),)
# Bus frequency by OPTEE OS
-obj-y += busfreq_optee.o
+obj-$(CONFIG_OPTEE) += busfreq_optee.o
endif
obj-y += devices/