linux_dsm_epyc7002/drivers/media/pci/saa7134
Arnd Bergmann 363bdb1144 [media] saa7134: fix warning with !MEDIA_CONTROLLER
When CONFIG_MEDIA_CONTROLLER is disabled, we get a warning
about an unused function:

drivers/media/pci/saa7134/saa7134-core.c:832:13: error: 'saa7134_create_entities' defined but not used [-Werror=unused-function]

This moves the #ifdef outside of the function, as it is
never called here.

Fixes: ac90aa02d5 ("[media] saa7134: add media controller support")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-03 14:12:46 -03:00
..
Kconfig [media] saa7134: Fix compilation breakage when go7007 is not selected 2014-09-23 16:13:47 -03:00
Makefile [media] saa7134: Fix compilation breakage when go7007 is not selected 2014-09-23 16:13:47 -03:00
saa7134-alsa.c [media] saa7134-alsa: Only frees registered sound cards 2016-02-04 16:26:10 -02:00
saa7134-cards.c [media] saa7134: Add support for Snazio TvPVR PRO 2016-03-03 09:03:48 -03:00
saa7134-core.c [media] saa7134: fix warning with !MEDIA_CONTROLLER 2016-03-03 14:12:46 -03:00
saa7134-dvb.c [media] saa7134: add media controller support 2016-02-10 07:23:44 -02:00
saa7134-empress.c [media] saa7134: add DMABUF support 2016-02-01 07:34:38 -02:00
saa7134-go7007.c [media] go7007: constify go7007_hpi_ops structures 2016-02-01 07:34:07 -02:00
saa7134-i2c.c [media] saa7134: fix CodingStyle issues on the lines touched by pr_foo refactor 2015-05-13 14:16:43 -03:00
saa7134-input.c [media] saa7134: Add support for Snazio TvPVR PRO 2016-03-03 09:03:48 -03:00
saa7134-reg.h [media] saa7134: add vidioc_querystd 2014-05-23 12:56:01 -03:00
saa7134-ts.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
saa7134-tvaudio.c [media] saa7134: use input types, instead of hardcoding strings 2016-02-10 07:23:42 -02:00
saa7134-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
saa7134-video.c [media] saa7134: Fix bytesperline not being set correctly for planar formats 2016-02-19 08:10:35 -02:00
saa7134.h [media] saa7134: Add support for Snazio TvPVR PRO 2016-03-03 09:03:48 -03:00