spi: fsl: add missing __iomem annotation
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 22 Jun 2020 16:26:11 +0000 (18:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jul 2020 22:21:26 +0000 (23:21 +0100)
commitdd67de8c3b421376b4b6dac14263763aa75535fc
treec2ab8e0aff65f7b3c528a3f1637693db36ec476d
parentf27b1dc6412547fac256957e22d6889fb56a5470
spi: fsl: add missing __iomem annotation

The field mspi->reg_base is annotated as an __iomem pointer. Good.

However, this field is often assigned to a temporary variable:
before being used. For example:
struct fsl_spi_reg *reg_base = mspi->reg_base;

But this variable is missing the __iomem annotation.
So, add the missing __iomem and make sparse & the bot happier.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Link: https://lore.kernel.org/r/20200622162611.83694-1-luc.vanoostenryck@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-spi.c