aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_of.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_of.h')
-rw-r--r--include/drm/drm_of.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h
index 92387eabcb6f..10ab58c40746 100644
--- a/include/drm/drm_of.h
+++ b/include/drm/drm_of.h
@@ -112,16 +112,18 @@ drm_of_lvds_get_data_mapping(const struct device_node *port)
return -EINVAL;
}
-int drm_of_get_data_lanes_count(const struct device_node *endpoint,
- const unsigned int min, const unsigned int max)
+static inline int
+drm_of_get_data_lanes_count(const struct device_node *endpoint,
+ const unsigned int min, const unsigned int max)
{
return -EINVAL;
}
-int drm_of_get_data_lanes_count_ep(const struct device_node *port,
- int port_reg, int reg
- const unsigned int min,
- const unsigned int max)
+static inline int
+drm_of_get_data_lanes_count_ep(const struct device_node *port,
+ int port_reg, int reg,
+ const unsigned int min,
+ const unsigned int max)
{
return -EINVAL;
}