diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-05 15:08:05 -0500 |
---|---|---|
committer | Steven Toth <stoth@hauppauge.com> | 2008-01-05 15:08:05 -0500 |
commit | 88ad51b6cd401849a446a4d1bcba232055a6923f (patch) | |
tree | db5a5b62dc5bbe4d4ff452790dbfc074b7cf497f /linux/drivers/media/video/cx23885/cx23885-cards.c | |
parent | 5240604a62cc6c8206ed6bf09646c574bdf9b54c (diff) | |
download | mediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.gz mediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.bz2 |
xc5000: Small amount of cleanup and commenting.
From: Steven Toth <stoth@hauppauge.com>
xc5000: Small amount of cleanup and commenting, just for clarification.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | linux/drivers/media/video/cx23885/cx23885-cards.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-cards.c b/linux/drivers/media/video/cx23885/cx23885-cards.c index f7c504b5a..8df5e27ed 100644 --- a/linux/drivers/media/video/cx23885/cx23885-cards.c +++ b/linux/drivers/media/video/cx23885/cx23885-cards.c @@ -248,9 +248,9 @@ static void hauppauge_eeprom(struct cx23885_dev *dev, u8 *eeprom_data) /* Tuner callback function for cx23885 boards. Currently only needed * for HVR1500Q, which has an xc5000 tuner. */ -int cx23885_tuner_callback(void *i2c_bus, int command, int arg) +int cx23885_tuner_callback(void *priv, int command, int arg) { - struct cx23885_i2c *bus = i2c_bus; + struct cx23885_i2c *bus = priv; struct cx23885_dev *dev = bus->dev; switch(dev->board) { @@ -272,7 +272,7 @@ int cx23885_tuner_callback(void *i2c_bus, int command, int arg) return 0; /* Should never be here */ } -EXPORT_SYMBOL(cx23885_tuner_callback); + void cx23885_gpio_setup(struct cx23885_dev *dev) { switch(dev->board) { |