diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-04 12:21:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 13:49:55 +0200 |
commit | a1bfed6094ac6868c43aaa43d021bf562cd93d07 (patch) | |
tree | eab9aa7f359257e2da25e3e44f2a70c34be087d7 /include/linux/property.h | |
parent | 23ead33bc6ed62abc9adc5fe27b9911e2ef5d209 (diff) | |
download | lwn-a1bfed6094ac6868c43aaa43d021bf562cd93d07.tar.gz lwn-a1bfed6094ac6868c43aaa43d021bf562cd93d07.zip |
device property: Constify parameter in fwnode_graph_is_endpoint()
Constify parameter in fwnode_graph_is_endpoint() since it doesn't
alter anything related to it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20221004092129.19412-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/property.h')
-rw-r--r-- | include/linux/property.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/property.h b/include/linux/property.h index 8d82775a901a..7abb1792044f 100644 --- a/include/linux/property.h +++ b/include/linux/property.h @@ -410,7 +410,7 @@ struct fwnode_handle *fwnode_graph_get_remote_port( struct fwnode_handle *fwnode_graph_get_remote_endpoint( const struct fwnode_handle *fwnode); -static inline bool fwnode_graph_is_endpoint(struct fwnode_handle *fwnode) +static inline bool fwnode_graph_is_endpoint(const struct fwnode_handle *fwnode) { return fwnode_property_present(fwnode, "remote-endpoint"); } |