From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Fri, 17 May 2013 10:31:04 +0000 (-0300)
Subject: [media] v4l: of: Remove struct v4l2_of_endpoint remote field
X-Git-Tag: firefly_0821_release~176^2~3573^2~1019
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=189c028f4771d69559762cb8035cc6927b3647fe;p=firefly-linux-kernel-4.4.55.git

[media] v4l: of: Remove struct v4l2_of_endpoint remote field

The field isn't set when parsing the endpoint. Remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
---

diff --git a/include/media/v4l2-of.h b/include/media/v4l2-of.h
index 3480cd00d5c1..541cea4122e9 100644
--- a/include/media/v4l2-of.h
+++ b/include/media/v4l2-of.h
@@ -53,7 +53,6 @@ struct v4l2_of_bus_parallel {
  * @port: identifier (value of reg property) of a port this endpoint belongs to
  * @id: identifier (value of reg property) of this endpoint
  * @local_node: pointer to device_node of this endpoint
- * @remote: phandle to remote endpoint node
  * @bus_type: bus type
  * @bus: bus configuration data structure
  * @head: list head for this structure
@@ -62,7 +61,6 @@ struct v4l2_of_endpoint {
 	unsigned int port;
 	unsigned int id;
 	const struct device_node *local_node;
-	const __be32 *remote;
 	enum v4l2_mbus_type bus_type;
 	union {
 		struct v4l2_of_bus_parallel parallel;