aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/mipi-csis.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/exynos4-is/mipi-csis.c')
-rw-r--r--drivers/media/platform/exynos4-is/mipi-csis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform/exynos4-is/mipi-csis.c
index f3c3591fdc5d..fd1ae6549607 100644
--- a/drivers/media/platform/exynos4-is/mipi-csis.c
+++ b/drivers/media/platform/exynos4-is/mipi-csis.c
@@ -20,6 +20,7 @@
20#include <linux/memory.h> 20#include <linux/memory.h>
21#include <linux/module.h> 21#include <linux/module.h>
22#include <linux/of.h> 22#include <linux/of.h>
23#include <linux/of_graph.h>
23#include <linux/phy/phy.h> 24#include <linux/phy/phy.h>
24#include <linux/platform_data/mipi-csis.h> 25#include <linux/platform_data/mipi-csis.h>
25#include <linux/platform_device.h> 26#include <linux/platform_device.h>
@@ -762,7 +763,7 @@ static int s5pcsis_parse_dt(struct platform_device *pdev,
762 &state->max_num_lanes)) 763 &state->max_num_lanes))
763 return -EINVAL; 764 return -EINVAL;
764 765
765 node = v4l2_of_get_next_endpoint(node, NULL); 766 node = of_graph_get_next_endpoint(node, NULL);
766 if (!node) { 767 if (!node) {
767 dev_err(&pdev->dev, "No port node at %s\n", 768 dev_err(&pdev->dev, "No port node at %s\n",
768 pdev->dev.of_node->full_name); 769 pdev->dev.of_node->full_name);