OSDN Git Service

imx: soc: Select REGMAP_MMIO
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Fri, 24 Sep 2021 14:01:46 +0000 (11:01 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 5 Oct 2021 05:54:44 +0000 (13:54 +0800)
commitf617a8717657e9142de02e54c8e6c885c569692d
treeceadb7550a7a6ef127c6b8db32338f9446d4eafb
parent19791f518f10b9cbf0a0171166373b4bf3d4be47
imx: soc: Select REGMAP_MMIO

The imx-gpcv2 driver needs Regmap MMIO. Select it, and fix:

drivers/soc/imx/gpcv2.c:420:34: error: array type has incomplete element type ‘struct regmap_range’
  420 | static const struct regmap_range imx7_yes_ranges[] = {
      |                                  ^~~~~~~~~~~~~~~
drivers/soc/imx/gpcv2.c:421:17: error: implicit declaration of function ‘regmap_reg_range’; did you mean ‘remap_pfn_range’? [-Werror=implicit-function-declaration]
  421 |                 regmap_reg_range(GPC_LPCR_A_CORE_BSC,
      |                 ^~~~~~~~~~~~~~~~
      |                 remap_pfn_range

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/Kconfig