From 515a1fa55cda2b1d952872e1786857481bd54fcc Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 21 Feb 2019 14:48:31 +0100 Subject: backports: support 3.1 and 3.10 tegra kernels Changes specific to vendor kernels Signed-off-by: Dominik Sliwa --- backport/backport-include/linux/of_device.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backport/backport-include/linux/of_device.h') diff --git a/backport/backport-include/linux/of_device.h b/backport/backport-include/linux/of_device.h index 2178a338..827c7fb1 100644 --- a/backport/backport-include/linux/of_device.h +++ b/backport/backport-include/linux/of_device.h @@ -24,8 +24,10 @@ static inline int backport_of_dma_configure(struct device *dev, #endif /* < 4.18 */ #if LINUX_VERSION_IS_LESS(4,12,0) +#if LINUX_VERSION_IS_GEQ(4,4,0) ssize_t bp_of_device_modalias(struct device *dev, char *str, ssize_t len); #define of_device_modalias bp_of_device_modalias +#endif /* > 4.4.0 */ #endif /* < 4.12 */ #endif /* __BP_OF_DEVICE_H */ -- cgit v1.2.3