summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/st_accel_buffer.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-26 12:09:59 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-23 13:17:25 -0200
commit190b23b4eb997767afad186bd8c96badceabf39e (patch)
tree73d6e94d44b1fc442fc6e4cab1d318790b41bea1 /drivers/iio/accel/st_accel_buffer.c
parentfa6317eedd6341f2144ed1097706d8c34f18b6e4 (diff)
[media] em28xx: only use mt9v011 if camera support is enabled
In randconfig builds that select VIDEO_EM28XX_V4L2 and MEDIA_SUBDRV_AUTOSELECT, but not MEDIA_CAMERA_SUPPORT, we get a Kconfig warning: warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT) This avoids the warning by making that 'select' conditional on MEDIA_CAMERA_SUPPORT. Alternatively we could mark EM28XX as 'depends on MEDIA_CAMERA_SUPPORT', but it does not seem to have any real dependency on that itself. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/iio/accel/st_accel_buffer.c')
0 files changed, 0 insertions, 0 deletions