summaryrefslogtreecommitdiff
path: root/drivers/mfd/intel-lpss.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-03-01 16:42:20 +0200
committerLee Jones <lee.jones@linaro.org>2021-04-14 16:06:09 +0100
commit9677e6f78f75470318f021d0ac43107ffee62dc0 (patch)
tree48b6ffb12d81c0ae90ea0a047e819798db9c3421 /drivers/mfd/intel-lpss.h
parent42e59982917a25ad254b74e6e8decee5e684763d (diff)
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.h2
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,