Home
last modified time | relevance | path

Searched hist:cb9e880a797a77c21c0f0e7ccd553da8eb4870af (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mfd/
H A Dstmpe.cdiff cb9e880a797a77c21c0f0e7ccd553da8eb4870af Fri Mar 05 00:07:09 CET 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> 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>