diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-09 17:53:39 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-10 11:08:43 (GMT) |
commit | 7b606ffd65730bca6eaa45f74e0bdf70dbe8a854 (patch) | |
tree | a5f4a7a40b670c234bafa0c5127bbe10bc7df0f7 /sound/synth | |
parent | 82e92f4cad6e0c42f8dbe7497b39dec7b3eb7b11 (diff) | |
download | linux-7b606ffd65730bca6eaa45f74e0bdf70dbe8a854.tar.xz |
[media] au0828: move V4L2-specific code to au0828-core.c
Instead of having lots of #ifdefs inside au0828-core due to
V4L2, move the dependencies to au0828-video.c. That allows
removing all those ifdefs, as au0828-video is only compiled if
CONFIG_VIDEO_AU0828_V4L2.
This fixes the following warnings reported by Kbuild test
with a random config with au0828 enabled, but V4L2 is disabled.
All warnings (new ones prefixed by >>):
drivers/media/usb/au0828/au0828-core.c: In function 'au0828_usb_probe':
>> drivers/media/usb/au0828/au0828-core.c:463:1: warning: label 'done' defined but not used [-Wunused-label]
done:
^
drivers/media/usb/au0828/au0828-core.c: At top level:
drivers/media/usb/au0828/au0828-core.c:250:12: warning: 'au0828_create_media_graph' defined but not used [-Wunused-function]
static int au0828_create_media_graph(struct au0828_dev *dev)
^
Tested with a WinTV HVR 950Q (USB ID: 2040:7200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions