]> err.no Git - linux-2.6/commit
V4L/DVB (5570): V4l1-compat: misc fixes for pixelformat function
authorTrent Piepho <xyzzy@speakeasy.org>
Sat, 28 Apr 2007 01:56:28 +0000 (22:56 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:12:30 +0000 (10:12 -0300)
commit5f12491c36acb94670d822a90c9295f6fd671c8a
tree5ea5d0cd8fb4d705e491c5efb8098d2852fed9dd
parent452c0fb46b1d68b1dae37cea7ccebd70a80397e4
V4L/DVB (5570): V4l1-compat: misc fixes for pixelformat function

Mark the palette2pixelformat lookup table as const

pixelformat is unsigned, adjust the palette2pixelformat table and
pixelformat_to_palette()

palette_to_pixelformat() is a pure function

pixelformat_to_palette() is a const function

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/v4l1-compat.c