]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: fix au0828 compile error from au0828_boards initialization
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 13 Jan 2015 02:56:55 +0000 (23:56 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:57:15 +0000 (11:57 -0200)
commit9bc1022f51e20af7e2aab58aae108fe976a5d00a
tree7186bf64021963a8b0b4c7419e0ee3cc17ef9682
parent7559d13ccf9fc4be9fb6ed21aaa4e105b6789ce8
[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>
drivers/media/usb/au0828/au0828-cards.c