diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-07-17 05:41:54 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-08-13 08:49:54 +0200 |
commit | 564de7628dab38f2d51bac2608fe1043704622b7 (patch) | |
tree | deb415c2c960ba5309c8a76df7765768f47b55b3 /Documentation/x86/pat.rst | |
parent | mfd: axp20x: Allow the AXP803 to be probed by I2C (diff) | |
download | linux-564de7628dab38f2d51bac2608fe1043704622b7.tar.xz linux-564de7628dab38f2d51bac2608fe1043704622b7.zip |
mfd: kempld-core: Fix 'assignment of read-only location' error
drivers/mfd/kempld-core.c: In function 'kempld_register_cells_generic':
drivers/mfd/kempld-core.c:105:13: error: assignment of read-only location 'devs[i++]'
105 | devs[i++] = kempld_devs[KEMPLD_I2C];
| ^
drivers/mfd/kempld-core.c:108:13: error: assignment of read-only location 'devs[i++]'
108 | devs[i++] = kempld_devs[KEMPLD_WDT];
| ^
drivers/mfd/kempld-core.c:111:13: error: assignment of read-only location 'devs[i++]'
111 | devs[i++] = kempld_devs[KEMPLD_GPIO];
| ^
drivers/mfd/kempld-core.c:114:13: error: assignment of read-only location 'devs[i++]'
114 | devs[i++] = kempld_devs[KEMPLD_UART];
| ^
Fixes: e49aa9a9bd22 ("mfd: core: Make a best effort attempt to match devices with the correct of_nodes")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/x86/pat.rst')
0 files changed, 0 insertions, 0 deletions