@@ -49,10 +49,13 @@ int v4l2_of_parse_data_lanes(const struct device_node *node,
struct device_node *v4l2_of_get_next_link(const struct device_node *parent,
struct device_node *previous);
struct device_node *v4l2_of_get_remote(const struct device_node *node);
-#else
-static inline void v4l2_of_parse_link(const struct device_node *node,
+
+#else /* CONFIG_OF */
+
+static inline int v4l2_of_parse_link(const struct device_node *node,
struct v4l2_of_link *link)
{
+ return -ENOSYS;
}
static inline int v4l2_of_parse_data_lanes(const struct device_node *node,