diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2015-01-12 21:56:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-02 08:57:15 -0500 |
commit | 9bc1022f51e20af7e2aab58aae108fe976a5d00a (patch) | |
tree | 7186bf64021963a8b0b4c7419e0ee3cc17ef9682 /drivers/media/usb | |
parent | 7559d13ccf9fc4be9fb6ed21aaa4e105b6789ce8 (diff) |
[media] media: fix au0828 compile error from au0828_boards initialization
au0828 picked up UNSET from videobuf-core.h and fails to compile
if videobuf-core.h isn't included. Change it to use -1U instead
to fix the problem.
drivers/media/usb/au0828/au0828-cards.c:47:17: error: ‘UNSET’ undeclared here (not in a function)
.tuner_type = UNSET,
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r-- | drivers/media/usb/au0828/au0828-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c index da87f1cc31a9..edc27355f271 100644 --- a/drivers/media/usb/au0828/au0828-cards.c +++ b/drivers/media/usb/au0828/au0828-cards.c | |||
@@ -44,7 +44,7 @@ static void hvr950q_cs5340_audio(void *priv, int enable) | |||
44 | struct au0828_board au0828_boards[] = { | 44 | struct au0828_board au0828_boards[] = { |
45 | [AU0828_BOARD_UNKNOWN] = { | 45 | [AU0828_BOARD_UNKNOWN] = { |
46 | .name = "Unknown board", | 46 | .name = "Unknown board", |
47 | .tuner_type = UNSET, | 47 | .tuner_type = -1U, |
48 | .tuner_addr = ADDR_UNSET, | 48 | .tuner_addr = ADDR_UNSET, |
49 | }, | 49 | }, |
50 | [AU0828_BOARD_HAUPPAUGE_HVR850] = { | 50 | [AU0828_BOARD_HAUPPAUGE_HVR850] = { |