xref: /openbsd-src/sys/dev/pci/drm/include/linux/of_device.h (revision 3f214701761dc09ae21aa7250457ce17ed1a5179)
1 /* Public domain. */
2 
3 #ifndef _LINUX_OF_DEVICE_H
4 #define _LINUX_OF_DEVICE_H
5 
6 #include <linux/of.h>
7 #include <linux/of_platform.h>
8 
9 int	__of_device_is_compatible(struct device_node *, const char *);
10 #define of_device_is_compatible(n, c) \
11 	__of_device_is_compatible(__of_node(n), (c))
12 
13 int	of_dma_configure(struct device *, struct device_node *, int);
14 
15 #endif
16