forked from luck/tmp_suning_uos_patched
mfd: Constify properties in mfd_cell
Constify 'struct property_entry *properties' in mfd_cell. It is always passed around as a pointer const struct. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
8d7de07783
commit
9aa8759960
|
@ -70,7 +70,7 @@ struct mfd_cell {
|
|||
size_t pdata_size;
|
||||
|
||||
/* device properties passed to the sub devices drivers */
|
||||
struct property_entry *properties;
|
||||
const struct property_entry *properties;
|
||||
|
||||
/*
|
||||
* Device Tree compatible string
|
||||
|
|
Loading…
Reference in New Issue
Block a user