diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-08-26 17:46:15 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-27 20:36:43 +0200 |
commit | 05190676ac7053525ff7bf9a6c823a23a334aa61 (patch) | |
tree | db720f08a136b342fa38be6aef2a5f5ec523f94f /arch/arm/mach-imx | |
parent | ef30b245b43e38563e7175e1b2ed605df25c9279 (diff) |
mach-imx: Kconfig: fix have_imx_busfreq
The busfreq driver works also for i.MX6 but currently HAVE_IMX_BUSFREQ
is not selected when one only selects HAVE_IMX_MMDC. (I.e. one removes
the i.MX 7 form defconfing). This results in compile errors.
| arch/arm/mach-imx/busfreq-imx.c:176:5: error: redefinition of ‘register_busfreq_notifier’
| int register_busfreq_notifier(struct notifier_block *nb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from arch/arm/mach-imx/busfreq-imx.c:23:0:
| ./include/linux/busfreq-imx.h:64:19: note: previous definition of ‘register_busfreq_notifier’ was here
| static inline int register_busfreq_notifier(struct notifier_block *nb)
| ...
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c95cc0556edd..ca53fb4bdcbc 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -46,6 +46,7 @@ config HAVE_IMX_GPCV2 config HAVE_IMX_MMDC bool + select HAVE_IMX_BUSFREQ config HAVE_IMX_AMP bool |