Skip to content

Commit 9aa8759

Browse files
Tomas WinklerLee Jones
authored andcommitted
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 <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent 8d7de07 commit 9aa8759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/mfd/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct mfd_cell {
7070
size_t pdata_size;
7171

7272
/* device properties passed to the sub devices drivers */
73-
struct property_entry *properties;
73+
const struct property_entry *properties;
7474

7575
/*
7676
* Device Tree compatible string

0 commit comments

Comments
 (0)