OSDN Git Service

s5k4ecgx: select CRC32 helper
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Dec 2016 11:41:29 +0000 (09:41 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2017 07:33:12 +0000 (08:33 +0100)
commit668a827a6c9daa88efb4464144a6bd7b2146c66c
tree32b4548a10810396ec06ef60252e9d1a2471855b
parent9a335996bfcfce1fd7fe7549fb1a679489774b99
s5k4ecgx: select CRC32 helper

commit c739c0a7c3c2472d7562b8f802cdce44d2597c8b upstream.

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: 8b99312b7214 ("[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/i2c/Kconfig