Correct .gbs.conf settings
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / media / i2c / tvp514x.c
index 83d85df..ca00117 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/module.h>
 #include <linux/v4l2-mediabus.h>
 #include <linux/of.h>
+#include <linux/of_graph.h>
 
 #include <media/v4l2-async.h>
 #include <media/v4l2-device.h>
@@ -1068,7 +1069,7 @@ tvp514x_get_pdata(struct i2c_client *client)
        if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
                return client->dev.platform_data;
 
-       endpoint = v4l2_of_get_next_endpoint(client->dev.of_node, NULL);
+       endpoint = of_graph_get_next_endpoint(client->dev.of_node, NULL);
        if (!endpoint)
                return NULL;