• Andy Shevchenko's avatar
    pinctrl: intel: merrifield: Add missed header · e95d0dfb
    Andy Shevchenko authored
    On x86 builds the absense of <linux/io.h> makes static analyzer and compiler
    unhappy which fails to build the driver.
    
    CHECK   drivers/pinctrl/intel/pinctrl-merrifield.c
    drivers/pinctrl/intel/pinctrl-merrifield.c:518:17:
      error: undefined identifier 'readl'
    drivers/pinctrl/intel/pinctrl-merrifield.c:570:17:
      error: undefined identifier 'readl'
    drivers/pinctrl/intel/pinctrl-merrifield.c:575:9:
      error: undefined identifier 'writel'
    drivers/pinctrl/intel/pinctrl-merrifield.c:645:17:
      error: undefined identifier 'readl'
      CC      drivers/pinctrl/intel/pinctrl-merrifield.o
    drivers/pinctrl/intel/pinctrl-merrifield.c: In function ‘mrfld_pin_dbg_show’:
    drivers/pinctrl/intel/pinctrl-merrifield.c:518:10:
      error: implicit declaration of function ‘readl’
      [-Werror=implicit-function-declaration]
      value = readl(bufcfg);
                ^
    drivers/pinctrl/intel/pinctrl-merrifield.c: In function ‘mrfld_update_bufcfg’:
    drivers/pinctrl/intel/pinctrl-merrifield.c:575:2:
      error: implicit declaration of function ‘writel’
      [-Werror=implicit-function-declaration]
      writel(value, bufcfg);
        ^
    cc1: some warnings being treated as errors
    
    Add header to the top of the module.
    
    Fixes: 4e80c8f5 ("pinctrl: intel: Add Intel Merrifield pin controller support")
    Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    e95d0dfb
Name
Last commit
Last update
..
bcm Loading commit data...
berlin Loading commit data...
freescale Loading commit data...
intel Loading commit data...
mediatek Loading commit data...
meson Loading commit data...
mvebu Loading commit data...
nomadik Loading commit data...
pxa Loading commit data...
qcom Loading commit data...
samsung Loading commit data...
sh-pfc Loading commit data...
sirf Loading commit data...
spear Loading commit data...
stm32 Loading commit data...
sunxi Loading commit data...
tegra Loading commit data...
uniphier Loading commit data...
vt8500 Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
core.c Loading commit data...
core.h Loading commit data...
devicetree.c Loading commit data...
devicetree.h Loading commit data...
pinconf-generic.c Loading commit data...
pinconf.c Loading commit data...
pinconf.h Loading commit data...
pinctrl-adi2-bf54x.c Loading commit data...
pinctrl-adi2-bf60x.c Loading commit data...
pinctrl-adi2.c Loading commit data...
pinctrl-adi2.h Loading commit data...
pinctrl-amd.c Loading commit data...
pinctrl-amd.h Loading commit data...
pinctrl-as3722.c Loading commit data...
pinctrl-at91-pio4.c Loading commit data...
pinctrl-at91.c Loading commit data...
pinctrl-at91.h Loading commit data...
pinctrl-coh901.c Loading commit data...
pinctrl-coh901.h Loading commit data...
pinctrl-digicolor.c Loading commit data...
pinctrl-falcon.c Loading commit data...
pinctrl-lantiq.c Loading commit data...
pinctrl-lantiq.h Loading commit data...
pinctrl-lpc18xx.c Loading commit data...
pinctrl-max77620.c Loading commit data...
pinctrl-oxnas.c Loading commit data...
pinctrl-palmas.c Loading commit data...
pinctrl-pic32.c Loading commit data...
pinctrl-pic32.h Loading commit data...
pinctrl-pistachio.c Loading commit data...
pinctrl-rockchip.c Loading commit data...
pinctrl-single.c Loading commit data...
pinctrl-st.c Loading commit data...
pinctrl-tb10x.c Loading commit data...
pinctrl-tz1090-pdc.c Loading commit data...
pinctrl-tz1090.c Loading commit data...
pinctrl-u300.c Loading commit data...
pinctrl-utils.c Loading commit data...
pinctrl-utils.h Loading commit data...
pinctrl-xway.c Loading commit data...
pinctrl-zynq.c Loading commit data...
pinmux.c Loading commit data...
pinmux.h Loading commit data...