diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2018-09-14 10:41:12 +0200 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2018-09-14 10:41:12 +0200 |
commit | 6142e8731c3e5b9c9f96d9af83052b9787604b39 (patch) | |
tree | 45b17840142b10874bf8974a74152eb3f9021e82 /backport-include/linux/of_device.h |
initial commit
Generated againts 4.18 kernel source with
git backports 0795d050c62e04c7c4fd7fcb554756e6adb4ec64
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'backport-include/linux/of_device.h')
-rw-r--r-- | backport-include/linux/of_device.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/backport-include/linux/of_device.h b/backport-include/linux/of_device.h new file mode 100644 index 0000000..951b253 --- /dev/null +++ b/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 */ |