V4L/DVB (6471): tuner: i2c_client cannot be part of the tuner struct
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 14 Sep 2007 08:13:54 +0000 (05:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:32 +0000 (19:01 -0200)
commit1cba97d71dca1a3c22b4d7f97893249817036215
tree0673ba7cce40953ee97eabb822899f2a5cf0b3d4
parent1a156045ab06b2cce8cf46e7bf53da26ab33b084
V4L/DVB (6471): tuner: i2c_client cannot be part of the tuner struct

The bus-based I2C subsystem allocates the i2c_client struct. So if in order to
be able to convert the tuner to the bus-based I2C API the embedded i2c_client
struct must be removed from the tuner struct and replaced with a pointer.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda8290.c
drivers/media/video/tda9887.c
drivers/media/video/tuner-core.c
drivers/media/video/tuner-driver.h