diff options
Diffstat (limited to 'backport/backport-include/linux/of_device.h')
-rw-r--r-- | backport/backport-include/linux/of_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/of_device.h b/backport/backport-include/linux/of_device.h index cdd366e3..2178a338 100644 --- a/backport/backport-include/linux/of_device.h +++ b/backport/backport-include/linux/of_device.h @@ -23,4 +23,9 @@ static inline int backport_of_dma_configure(struct device *dev, #define of_dma_configure LINUX_BACKPORT(of_dma_configure) #endif /* < 4.18 */ +#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 +#endif /* < 4.12 */ + #endif /* __BP_OF_DEVICE_H */ |