|
@@ -37,6 +37,7 @@ extern const void *of_device_get_match_data(const struct device *dev);
|
|
|
|
|
|
extern ssize_t of_device_get_modalias(struct device *dev,
|
|
extern ssize_t of_device_get_modalias(struct device *dev,
|
|
char *str, ssize_t len);
|
|
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(struct device *dev, struct kobj_uevent_env *env);
|
|
extern int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env);
|
|
extern int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env);
|
|
@@ -78,6 +79,11 @@ static inline int of_device_get_modalias(struct device *dev,
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline int of_device_request_module(struct device *dev)
|
|
|
|
+{
|
|
|
|
+ return -ENODEV;
|
|
|
|
+}
|
|
|
|
+
|
|
static inline int of_device_uevent_modalias(struct device *dev,
|
|
static inline int of_device_uevent_modalias(struct device *dev,
|
|
struct kobj_uevent_env *env)
|
|
struct kobj_uevent_env *env)
|
|
{
|
|
{
|