diff options
author | Antti Palosaari <crope@iki.fi> | 2014-02-01 01:55:47 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-05 19:35:25 +0100 |
commit | 96a5b3a869e3dc7d55bf04a48a8dca8a4025787e (patch) | |
tree | 631d6c33331496bac75c728cc461802bfea50171 /drivers/media/media-devnode.c | |
parent | [media] DocBook: Fix a breakage at controls.xml (diff) | |
download | linux-96a5b3a869e3dc7d55bf04a48a8dca8a4025787e.tar.xz linux-96a5b3a869e3dc7d55bf04a48a8dca8a4025787e.zip |
[media] xc2028: silence compiler warnings
There is now new tuner types which are not handled on that switch-case.
Print error if unknown tuner type is meet.
drivers/media/tuners/tuner-xc2028.c: In function ‘generic_set_freq’:
drivers/media/tuners/tuner-xc2028.c:1037:2: warning: enumeration value ‘V4L2_TUNER_ADC’ not handled in switch [-Wswitch]
switch (new_type) {
^
drivers/media/tuners/tuner-xc2028.c:1037:2: warning: enumeration value ‘V4L2_TUNER_RF’ not handled in switch [-Wswitch]
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/media-devnode.c')
0 files changed, 0 insertions, 0 deletions