aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-cards.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-cards.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index ee3f1b099145..2d414dad5c31 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -247,9 +247,9 @@ static void hauppauge_eeprom(struct cx23885_dev *dev, u8 *eeprom_data)
247/* Tuner callback function for cx23885 boards. Currently only needed 247/* Tuner callback function for cx23885 boards. Currently only needed
248 * for HVR1500Q, which has an xc5000 tuner. 248 * for HVR1500Q, which has an xc5000 tuner.
249 */ 249 */
250int cx23885_tuner_callback(void *i2c_bus, int command, int arg) 250int cx23885_tuner_callback(void *priv, int command, int arg)
251{ 251{
252 struct cx23885_i2c *bus = i2c_bus; 252 struct cx23885_i2c *bus = priv;
253 struct cx23885_dev *dev = bus->dev; 253 struct cx23885_dev *dev = bus->dev;
254 254
255 switch(dev->board) { 255 switch(dev->board) {
@@ -271,7 +271,7 @@ int cx23885_tuner_callback(void *i2c_bus, int command, int arg)
271 271
272 return 0; /* Should never be here */ 272 return 0; /* Should never be here */
273} 273}
274EXPORT_SYMBOL(cx23885_tuner_callback); 274
275void cx23885_gpio_setup(struct cx23885_dev *dev) 275void cx23885_gpio_setup(struct cx23885_dev *dev)
276{ 276{
277 switch(dev->board) { 277 switch(dev->board) {