Skip to content

Commit 2968ab1

Browse files
Lee JonesSamuel Ortiz
authored andcommitted
mfd: Attaching a node to new 'struct mfd_cell' of_compatible variable
Applying a succinct description to the of_compatible variable recently added to the mfd_cell struct. Also link to the documentation page where more information can be found about compatible properties. Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
1 parent 930bf02 commit 2968ab1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/mfd/core.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ struct mfd_cell {
3636
/* platform data passed to the sub devices drivers */
3737
void *platform_data;
3838
size_t pdata_size;
39+
/*
40+
* Device Tree compatible string
41+
* See: Documentation/devicetree/usage-model.txt Chapter 2.2 for details
42+
*/
3943
const char *of_compatible;
4044

4145
/*

0 commit comments

Comments
 (0)