diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-09-04 13:40:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 13:11:29 +0200 |
commit | 7523d330aac7190f738998a52df8d5aa14293280 (patch) | |
tree | 4ca4a481ee8aff2a570022aa33958421b6d126b8 /include | |
parent | a083c755e136844a934bc9b4416cd23b5c19c617 (diff) | |
download | linux-stable-7523d330aac7190f738998a52df8d5aa14293280.tar.gz linux-stable-7523d330aac7190f738998a52df8d5aa14293280.tar.bz2 linux-stable-7523d330aac7190f738998a52df8d5aa14293280.zip |
device property: Clarify usage scope of some struct fwnode_handle members
Most of the struct fwnode_handle members are for exclusive use with
device links framework. Clarify this by adding a respective comment.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20230904104046.1682875-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fwnode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index 5700451b300f..2a72f55d26eb 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -41,6 +41,8 @@ struct device; struct fwnode_handle { struct fwnode_handle *secondary; const struct fwnode_operations *ops; + + /* The below is used solely by device links, don't use otherwise */ struct device *dev; struct list_head suppliers; struct list_head consumers; |