From 781c0004e3f634ba931e588cc5af49f1268a95e5 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Tue, 18 Sep 2018 17:35:14 +0200 Subject: mt7601u: compile on tegra 3.1 and 3.10 kernels Signed-off-by: Dominik Sliwa --- backport-include/linux/of_device.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backport-include') 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 +#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 -- cgit v1.2.3