Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abc5b2cb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: v4l2-fwnode: make v4l2_fwnode_endpoint_parse_csi1_bus static



This function is used only internally. So, make it static.
Shuts up this warning:

drivers/media/v4l2-core/v4l2-fwnode.c:153:6: warning: no previous prototype for 'v4l2_fwnode_endpoint_parse_csi1_bus' [-Wmissing-prototypes]
 void v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 4ee23621
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -150,7 +150,8 @@ static void v4l2_fwnode_endpoint_parse_parallel_bus(

}

void v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode,
static void
v4l2_fwnode_endpoint_parse_csi1_bus(struct fwnode_handle *fwnode,
				    struct v4l2_fwnode_endpoint *vep,
				    u32 bus_type)
{