media: Fix build failure due to missing select REGMAP_I2C
authorIan Kumlien <ian.kumlien@gmail.com>
Wed, 26 Feb 2020 14:34:05 +0000 (15:34 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:16:31 +0000 (17:16 +0100)
commit6de18fa3bd1dd5114106abf6217587d6f6cb051d
tree04e8b895aaf965939f1cf5bde42c8ee115089718
parent430f35b734e6851d72bc66cc140f045999b30dec
media: Fix build failure due to missing select REGMAP_I2C

While upgrading from 5.5.2 -> 5.5.6 I was surprised by:
ld: drivers/media/i2c/tvp5150.o: in function `tvp5150_probe':
tvp5150.c:(.text+0x11ac): undefined reference to
`__devm_regmap_init_i2c'
make: *** [Makefile:1078: vmlinux] Error 1

The fix was quick enough, make VIDEO_TVP5150 select REGMAP_I2C
And a quick grep showed that it was needed by more targets.

Signed-off-by: Ian Kumlien <ian.kumlien@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/Kconfig