diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-07-17 06:41:54 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-08-13 09:49:54 +0300 |
commit | 564de7628dab38f2d51bac2608fe1043704622b7 (patch) | |
tree | deb415c2c960ba5309c8a76df7765768f47b55b3 /sound | |
parent | 85c307850784eaa0f81713edf707e6f2e4d64eb3 (diff) | |
download | linux-564de7628dab38f2d51bac2608fe1043704622b7.tar.xz |
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 'sound')
0 files changed, 0 insertions, 0 deletions