VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 2019-12-19 12:37:03 +0200 committer: Dave Airlie <airlied@redhat.com> 2020-01-09 10:40:58 +1000 commit: 528d06d41b80a4acb2a9efd33bfc87495147f75e parent: f5c547efa16c0ea5abff0596e829f502be11902e
Commit Summary:
drm: of: Fix linking when CONFIG_OF is not set
Diffstat:
1 file changed, 3 insertions, 2 deletions
diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h
index 8ec7ca6d2369..b9b093add92e 100644
--- a/include/drm/drm_of.h
+++ b/include/drm/drm_of.h
@@ -92,8 +92,9 @@ static inline int drm_of_find_panel_or_bridge(const struct device_node *np,
 	return -EINVAL;
 }
 
-int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
-					  const struct device_node *port2)
+static inline int
+drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
+				      const struct device_node *port2)
 {
 	return -EINVAL;
 }