[PATCH] [media] v4l2-core: Rename array 'video_driver' to 'video_drivers'

2018-04-09 Thread Simon Que
Improves code clarity in two ways: 1. The plural name makes it more clear that it is an array. 2. The name of the array is now no longer identical to the struct type name, so it is easier to find in the code. Signed-off-by: Simon Que --- drivers/media/v4l2-core/v4l2-dev.c | 22

[PATCH] media: tuners: initialize hw and fw ids in xc4000.c

2013-01-16 Thread Simon Que
These variables are implicitly initialized by passing them to xc_get_version(). However, initializing them to 0 explicitly will avoid compile warnings. Signed-off-by: Simon Que --- drivers/media/tuners/xc4000.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH] media: config option for building tuners

2013-01-24 Thread Simon Que
This patch provides a Kconfig option, MEDIA_TUNER_SUPPORT, that determines whether media/tuners is included in the build. This way, the tuners don't have to be unconditionally included in the build. Signed-off-by: Simon Que --- drivers/media/Kconfig | 9 + drivers/media/Makefil