blob: 9f621c6dcf52baf97a665fc52aff5ce9df7d0d95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#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,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 */
|