]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5k4ecgx: select CRC32 helper
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2016 11:41:29 +0000 (09:41 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Dec 2016 09:33:40 +0000 (07:33 -0200)
commit414872e081f360ce34d770aa0b52a186f2bb7062
tree17a641d3d527601d4b0188f6e77bbc27be4bfbe9
parentcdec8a04c8bab9a0ed45930d3716bfc318e79fd3
[media] s5k4ecgx: select CRC32 helper

A rare randconfig build failure shows up in this driver when
the CRC32 helper is not there:

drivers/media/built-in.o: In function `s5k4ecgx_s_power':
s5k4ecgx.c:(.text+0x9eb4): undefined reference to `crc32_le'

This adds the 'select' that all other users of this function have.

Fixes: a6e16c2a2414 ("[media] Add v4l2 subdev driver for S5K4ECGX sensor")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/Kconfig