diff options
Diffstat (limited to 'backport/backport-include/linux')
-rw-r--r-- | backport/backport-include/linux/of_device.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backport/backport-include/linux/of_device.h b/backport/backport-include/linux/of_device.h new file mode 100644 index 00000000..951b2534 --- /dev/null +++ b/backport/backport-include/linux/of_device.h @@ -0,0 +1,11 @@ +#ifndef __BP_OF_DEVICE_H +#define __BP_OF_DEVICE_H +#include_next <linux/of_device.h> +#include <linux/version.h> + +#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 */ |