summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-21 10:04:30 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-18 09:11:25 -0500
commit01154ef5820a756283686247405a599c4ef7dc48 (patch)
tree28419933a96852fe0c4b135a48d75832a4c4e96b
parent8030e774e209bca8504e7b73e186afe8e83e1532 (diff)
media: v4l2-common: get rid of v4l2_routing dead struct
This struct is not used anymore. Get rid of it and update the documentation about what should still be converted. Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--include/media/v4l2-common.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index aac8b7b6e691..7dbecbe3009c 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -224,10 +224,11 @@ void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi,
/* ------------------------------------------------------------------------- */
-/* Note: these remaining ioctls/structs should be removed as well, but they are
- still used in tuner-simple.c (TUNER_SET_CONFIG), cx18/ivtv (RESET) and
- v4l2-int-device.h (v4l2_routing). To remove these ioctls some more cleanup
- is needed in those modules. */
+/*
+ * FIXME: these remaining ioctls/structs should be removed as well, but they
+ * are still used in tuner-simple.c (TUNER_SET_CONFIG) and cx18/ivtv (RESET).
+ * To remove these ioctls some more cleanup is needed in those modules.
+ */
/* s_config */
struct v4l2_priv_tun_config {
@@ -238,11 +239,6 @@ struct v4l2_priv_tun_config {
#define VIDIOC_INT_RESET _IOW ('d', 102, u32)
-struct v4l2_routing {
- u32 input;
- u32 output;
-};
-
/* ------------------------------------------------------------------------- */
/* Miscellaneous helper functions */