• Ye Li's avatar
    MLK-16289 pca953x_gpio: Fix build warning · 1b47b1aa
    Ye Li authored
    Fix uild warning below introduced by
    commit: cb20ff23c83b80b4115c8a44ea436cb6b40429f1
    
    drivers/gpio/pca953x_gpio.c: In function ‘pca953x_probe’:
    drivers/gpio/pca953x_gpio.c:325:48: warning: passing argument 3 of
    ‘pca953x_write_regs’ from incompatible pointer type [-Wincompatible-pointer-types]
      ret = pca953x_write_regs(dev, PCA953X_INVERT, &val);
                                                    ^
    drivers/gpio/pca953x_gpio.c:135:12: note: expected ‘u8 * {aka unsigned char *}’
    but argument is of type ‘u8 (*)[5] {aka unsigned char (*)[5]}’
     static int pca953x_write_regs(struct udevice *dev, int reg, u8 *val)
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
    1b47b1aa
Name
Last commit
Last update
..
74x164_gpio.c Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
adi_gpio2.c Loading commit data...
altera_pio.c Loading commit data...
at91_gpio.c Loading commit data...
atmel_pio4.c Loading commit data...
axp_gpio.c Loading commit data...
bcm2835_gpio.c Loading commit data...
da8xx_gpio.c Loading commit data...
db8500_gpio.c Loading commit data...
dwapb_gpio.c Loading commit data...
gpio-uclass.c Loading commit data...
gpio-uniphier.c Loading commit data...
hi6220_gpio.c Loading commit data...
imx_rgpio2p.c Loading commit data...
intel_broadwell_gpio.c Loading commit data...
intel_ich6_gpio.c Loading commit data...
kona_gpio.c Loading commit data...
kw_gpio.c Loading commit data...
lpc32xx_gpio.c Loading commit data...
mpc83xx_gpio.c Loading commit data...
mpc85xx_gpio.c Loading commit data...
msm_gpio.c Loading commit data...
mvebu_gpio.c Loading commit data...
mvgpio.c Loading commit data...
mvgpio.h Loading commit data...
mvmfp.c Loading commit data...
mxc_gpio.c Loading commit data...
mxs_gpio.c Loading commit data...
omap_gpio.c Loading commit data...
pca953x.c Loading commit data...
pca953x_gpio.c Loading commit data...
pca9698.c Loading commit data...
pcf8575_gpio.c Loading commit data...
pic32_gpio.c Loading commit data...
pm8916_gpio.c Loading commit data...
rk_gpio.c Loading commit data...
s3c2440_gpio.c Loading commit data...
s5p_gpio.c Loading commit data...
sandbox.c Loading commit data...
sh_pfc.c Loading commit data...
spear_gpio.c Loading commit data...
stm32_gpio.c Loading commit data...
sunxi_gpio.c Loading commit data...
sx151x.c Loading commit data...
tca642x.c Loading commit data...
tegra186_gpio.c Loading commit data...
tegra186_gpio_priv.h Loading commit data...
tegra_gpio.c Loading commit data...
vybrid_gpio.c Loading commit data...
xilinx_gpio.c Loading commit data...
zynq_gpio.c Loading commit data...