[media] v4l2-of: fix compiler errors if CONFIG_OF is undefined
[deliverable/linux.git] / include / media / v4l2-of.h
index 241e98aee40e4c86417549a0c8bf5f0cfa1792b2..4dc34b245d47e36942da4f4451da59f364429776 100644 (file)
@@ -103,13 +103,13 @@ static inline int v4l2_of_parse_endpoint(const struct device_node *node,
        return -ENOSYS;
 }
 
-struct v4l2_of_endpoint *v4l2_of_alloc_parse_endpoint(
+static inline struct v4l2_of_endpoint *v4l2_of_alloc_parse_endpoint(
        const struct device_node *node)
 {
        return NULL;
 }
 
-static void v4l2_of_free_endpoint(struct v4l2_of_endpoint *endpoint)
+static inline void v4l2_of_free_endpoint(struct v4l2_of_endpoint *endpoint)
 {
 }
 
This page took 0.028228 seconds and 5 git commands to generate.