V4L/DVB (12236): em28xx: stop abusing of board->decoder for sensor information
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Jul 2009 14:04:15 +0000 (11:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:23 +0000 (14:03 -0300)
commit527f09a981e398331c2f8d8f7af83cd46e6a06cc
treefedf67d56ebe88b4a7ecb8c6fa67cfa10c444182
parent8b220793d6fd309176438721088515be893630cd
V4L/DVB (12236): em28xx: stop abusing of board->decoder for sensor information

Instead of using em28xx board decoder field for storing sensor information,
let's use instead a separate field for it.

Also, as sensors are currently autodetected, there's no need of having
it at the boards description. So, move it to the main em28xx struct.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h