#ifndef __BP_OF_DEVICE_H #define __BP_OF_DEVICE_H #include_next #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 #endif #if LINUX_VERSION_IS_LESS(4,1,0) static inline void of_dma_configure(struct device *dev, struct device_node *np) {} #endif /* < 4.1.0 */ #endif /* __BP_OF_DEVICE_H */