]> git.baikalelectronics.ru Git - kernel.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)
commitdaad9d21b11b321aab2869bfbaad05c7bb413e18
treec3ce68befd3b25017d8c75077a0315d6827be33d
parent693a56db3fcd895abbfb87fa43ac719835f74181
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