OSDN Git Service

media: seco-cec: fix RC_CORE dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 20:41:40 +0000 (15:41 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 16:42:34 +0000 (11:42 -0500)
commitf27dd0ad68850fdb806536a733a32d8f74810f1e
treea79e9a6805c46665c381129f756d07c259d1fd29
parent6458afc8c49148f0a5015d8853039a0b3fb91d98
media: seco-cec: fix RC_CORE dependency

All other drivers that need RC_CORE have a dependency rather than using
'select', so we should do the same here to avoid circular dependencies
as well as this warning about missing dependencies:

WARNING: unmet direct dependencies detected for RC_CORE
  Depends on [n]: INPUT [=n]
  Selected by [y]:
  - VIDEO_SECO_RC [=y] && MEDIA_SUPPORT [=y] && CEC_PLATFORM_DRIVERS [=y] && VIDEO_SECO_CEC [=y]

Fixes: daef95769b3a ("media: seco-cec: add Consumer-IR support")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/Kconfig