drm_of.h (97ac0e47aed5f635893b0e2df634c64b38ca7541) drm_of.h (329f4c812a699dc6e4ae12aceee324d53ec78107)
1#ifndef __DRM_OF_H__
2#define __DRM_OF_H__
3
4#include <linux/of_graph.h>
5
6struct component_master_ops;
7struct component_match;
8struct device;

--- 16 unchanged lines hidden (view full) ---

25 struct of_endpoint *endpoint);
26#else
27static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
28 struct device_node *port)
29{
30 return 0;
31}
32
1#ifndef __DRM_OF_H__
2#define __DRM_OF_H__
3
4#include <linux/of_graph.h>
5
6struct component_master_ops;
7struct component_match;
8struct device;

--- 16 unchanged lines hidden (view full) ---

25 struct of_endpoint *endpoint);
26#else
27static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
28 struct device_node *port)
29{
30 return 0;
31}
32
33static void drm_of_component_match_add(struct device *master,
34 struct component_match **matchptr,
35 int (*compare)(struct device *, void *),
36 struct device_node *node)
33static inline void
34drm_of_component_match_add(struct device *master,
35 struct component_match **matchptr,
36 int (*compare)(struct device *, void *),
37 struct device_node *node)
37{
38}
39
40static inline int
41drm_of_component_probe(struct device *dev,
42 int (*compare_of)(struct device *, void *),
43 const struct component_master_ops *m_ops)
44{

--- 32 unchanged lines hidden ---
38{
39}
40
41static inline int
42drm_of_component_probe(struct device *dev,
43 int (*compare_of)(struct device *, void *),
44 const struct component_master_ops *m_ops)
45{

--- 32 unchanged lines hidden ---