linux/drivers/media
Arnd Bergmann 0a82edd011 [media] hide unused functions for !MEDIA_CONTROLLER
Some functions in the au0828 driver are only used when CONFIG_MEDIA_CONTROLLER
is enabled, and otherwise defined as empty functions:

media/usb/au0828/au0828-core.c:208:13: error: 'au0828_media_graph_notify' defined but not used [-Werror=unused-function]
media/usb/au0828/au0828-core.c:262:12: error: 'au0828_enable_source' defined but not used [-Werror=unused-function]
media/usb/au0828/au0828-core.c:412:13: error: 'au0828_disable_source' defined but not used [-Werror=unused-function]

This moves the #ifdef so the entire definitions are hidden in this case.

[mchehab@osg.samsung.com: As pointed by Shuah Khan, a return 0 can be removed]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-05 09:07:14 -03:00
..
common [media] siano: firmware buffer is too small 2016-02-16 09:29:13 -02:00
dvb-core [media] dvb-core: fix return code checking for devices with CA 2016-03-03 14:33:33 -03:00
dvb-frontends [media] cx24120: make sure tuner is locked at get_frontend 2016-03-03 14:26:55 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] adv7604: fix SPA register location for ADV7612 2016-03-03 07:32:20 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] saa7134: fix warning with !MEDIA_CONTROLLER 2016-03-03 14:12:46 -03:00
platform [media] coda: fix error path in case of missing pdata on non-DT platform 2016-03-03 14:11:51 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] media: rc: nuvoton: switch attribute wakeup_data to text 2016-03-05 08:22:03 -03:00
tuners [media] xc4000: shut up a bogus smatch message 2016-02-23 07:14:02 -03:00
usb [media] hide unused functions for !MEDIA_CONTROLLER 2016-03-05 09:07:14 -03:00
v4l2-core [media] v4l2-ioctl: fix YUV422P pixel format description 2016-03-05 08:21:32 -03:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Properly handle user pointers 2016-03-03 13:03:06 -03:00
media-devnode.c [media] media: Fix media_open() to clear filp->private_data in error leg 2016-02-01 13:21:33 -02:00
media-entity.c [media] media: add prefixes to interface types 2016-03-05 09:03:16 -03:00