]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] cx25821: fix compiler warning
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 13 Apr 2013 08:19:41 +0000 (05:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 19:28:26 +0000 (16:28 -0300)
commit170bd5330383ce62127ef5b6eeeab9afebd7b838
tree7458eb64e4ccf2b134bb176affb320875300222a
parent31b320739b4318a04c203918310b49a55a598bde
[media] cx25821: fix compiler warning

drivers/media/pci/cx25821/cx25821-video.c: In function ‘cx25821_video_register’:
drivers/media/pci/cx25821/cx25821-video.c:518:1: warning: the frame size of 1600 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Fixed by just making the struct video_device template static const.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx25821/cx25821-video.c
drivers/media/pci/cx25821/cx25821.h