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