summaryrefslogtreecommitdiff
path: root/include/linux/of_device.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-12-21 12:15:21 -0800
committerJakub Kicinski <kuba@kernel.org>2022-12-21 12:15:21 -0800
commitc183e6c3ec342624c43269c099050d01eeb67e63 (patch)
treebbfd027f74581221debe1d31e3b472cc0d03cf3b /include/linux/of_device.h
parent9054b41c4e1b5725e573c13166cee56bf7034bbd (diff)
parent609d3bc6230514a8ca79b377775b17e8c3d9ac93 (diff)
downloadlwn-c183e6c3ec342624c43269c099050d01eeb67e63.tar.gz
lwn-c183e6c3ec342624c43269c099050d01eeb67e63.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
No conflicts. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/of_device.h')
-rw-r--r--include/linux/of_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index 1a803e4335d3..ab7d557d541d 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -35,7 +35,7 @@ extern const void *of_device_get_match_data(const struct device *dev);
extern ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len);
extern int of_device_request_module(struct device *dev);
-extern void of_device_uevent(struct device *dev, struct kobj_uevent_env *env);
+extern void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env);
extern int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env);
static inline struct device_node *of_cpu_device_node_get(int cpu)
@@ -64,7 +64,7 @@ static inline int of_driver_match_device(struct device *dev,
return 0;
}
-static inline void of_device_uevent(struct device *dev,
+static inline void of_device_uevent(const struct device *dev,
struct kobj_uevent_env *env) { }
static inline const void *of_device_get_match_data(const struct device *dev)