diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-03-05 00:07:09 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-04-14 16:03:22 +0100 |
commit | cb9e880a797a77c21c0f0e7ccd553da8eb4870af (patch) | |
tree | dfcca096b676e2a12767fc7951cfdb52696d9630 /drivers/mfd/mxs-lradc.c | |
parent | 911490a5ca2a3289ac734ca7c127c7dbc72466cc (diff) |
mfd: stmpe: Revert "Constify static struct resource"
In stmpe_devices_init(), the start and end field of these structs are
modified, so they can not be const. Add a comment to those structs that
lacked it to reduce the risk that this happens again.
This reverts commit 8d7b3a6dac4eae22c58b0853696cbd256966741b.
Fixes: 8d7b3a6dac4e ("mfd: stmpe: Constify static struct resource")
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mxs-lradc.c')
0 files changed, 0 insertions, 0 deletions