]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6333): cx88: Change void* card_priv to struct vp3054_i2c_state
authorTrent Piepho <xyzzy@speakeasy.org>
Sun, 14 Oct 2007 05:52:16 +0000 (02:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:42 +0000 (12:01 -0200)
commitf0ad90975bc9ff6cd7361b452b31dab7a90084fc
treec3ce68befd3b25017d8c75077a0315d6827be33d
parent7717cbedd90381f4e60b1e230dfdfd7565c7efda
V4L/DVB (6333): cx88: Change void* card_priv to struct vp3054_i2c_state

card_priv was only used to store a pointer to the vp3054 state struct.
There's no need to use a void * since it doesn't have multiple types.

Make the field conditional on VP3045 support.  It was already conditional on
DVB support, but it's only used if VP3045 support is on, so that makes for a
better option to check.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-dvb.c
drivers/media/video/cx88/cx88-vp3054-i2c.c
drivers/media/video/cx88/cx88.h