diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-03-01 15:42:20 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-04-14 17:06:09 +0200 |
commit | 9677e6f78f75470318f021d0ac43107ffee62dc0 (patch) | |
tree | 48b6ffb12d81c0ae90ea0a047e819798db9c3421 /drivers/mfd/intel-lpss.h | |
parent | mfd: core: Add support for software nodes (diff) | |
download | linux-9677e6f78f75470318f021d0ac43107ffee62dc0.tar.xz linux-9677e6f78f75470318f021d0ac43107ffee62dc0.zip |
mfd: intel-lpss: Constify device property structures
There is no point to have non-constant device properties in this driver.
Thus, constify them for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/intel-lpss.h')
-rw-r--r-- | drivers/mfd/intel-lpss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h index 4ae58a86bb42..a2fbaed061ba 100644 --- a/drivers/mfd/intel-lpss.h +++ b/drivers/mfd/intel-lpss.h @@ -22,7 +22,7 @@ struct intel_lpss_platform_info { int irq; unsigned long clk_rate; const char *clk_con_id; - struct property_entry *properties; + const struct property_entry *properties; }; int intel_lpss_probe(struct device *dev, |