diff options
Diffstat (limited to 'backport-include/linux/of_device.h')
-rw-r--r-- | backport-include/linux/of_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backport-include/linux/of_device.h b/backport-include/linux/of_device.h index 9f621c6..bd33a98 100644 --- a/backport-include/linux/of_device.h +++ b/backport-include/linux/of_device.h @@ -4,6 +4,11 @@ #include <linux/version.h> +#if LINUX_VERSION_IS_LESS(4,4,0) +int bp_of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env); +#define of_device_uevent_modalias bp_of_device_uevent_modalias +#endif + #if LINUX_VERSION_IS_LESS(4,12,0) ssize_t bp_of_device_modalias(struct device *dev, char *str, ssize_t len); #define of_device_modalias bp_of_device_modalias |