[PATCH] imx: soc: Select REGMAP_MMIO

Shawn Guo shawnguo at kernel.org
Mon Oct 4 22:55:00 PDT 2021


On Fri, Sep 24, 2021 at 11:01:46AM -0300, Ezequiel Garcia wrote:
> 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 at vanguardiasur.com.ar>

Applied, thanks!



More information about the linux-arm-kernel mailing list