diff options
Diffstat (limited to 'backport/backport-include/linux/of_device.h')
-rw-r--r-- | backport/backport-include/linux/of_device.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |