diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 13:16:16 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 15:07:19 +0100 |
commit | d59f775423f0bd045d35a6e0e4db479b2bf18ff2 (patch) | |
tree | 2a773d8058c7e5f00ad7a74ef9f100f3f41587cb /backport/backport-include/linux/of_device.h | |
parent | 6e4ae0db6ae7b5f84db3cf9f7569f650793ece4e (diff) |
backports: add dummy of_dma_configure()
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/of_device.h')
-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 */ |