]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/of_device.h
Merge tag 'devicetree-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / include / linux / of_device.h
index 5c2aeed17dd45aa448e0818f7f1a2d4d6d17bdc8..c12dace043f3c840a8bb4d4540e06f897eeca8cb 100644 (file)
@@ -36,6 +36,7 @@ extern const void *of_device_get_match_data(const struct device *dev);
 
 extern ssize_t of_device_get_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 int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env);
@@ -77,6 +78,11 @@ static inline int of_device_get_modalias(struct device *dev,
        return -ENODEV;
 }
 
+static inline int of_device_request_module(struct device *dev)
+{
+       return -ENODEV;
+}
+
 static inline int of_device_uevent_modalias(struct device *dev,
                                   struct kobj_uevent_env *env)
 {