]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l2-core: move i2c helpers out of v4l2-common.c
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 15 Aug 2019 16:48:03 +0000 (13:48 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 26 Aug 2019 13:50:48 +0000 (10:50 -0300)
commit02283b98b1ac47659b17d575ea24e2b92ead7ede
treef8a7a2128a3ba83f66bd442cafc1ec2ca0c74c0b
parent7c795df5f344482c2ab8c52ebc1d94302d2b9082
media: v4l2-core: move i2c helpers out of v4l2-common.c

Separate the i2c helpers to v4l2-i2c.c, in order to get rid
of the ifdefery. No functional changes intended, this is
just a cosmetic change to organize the code better.

Given I2C is a tristate symbol, a hidden boolean symbol
is introduced, to make the conditional build easier.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/Kconfig
drivers/media/v4l2-core/Makefile
drivers/media/v4l2-core/v4l2-common.c
drivers/media/v4l2-core/v4l2-i2c.c [new file with mode: 0644]
include/media/v4l2-common.h