summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-cards.c
diff options
context:
space:
mode:
authorSteven Toth2008-01-05 21:08:05 +0100
committerMauro Carvalho Chehab2008-01-25 22:05:07 +0100
commit73c993a8294077ae1b724286da8ac323c25d90db (patch)
tree47a44433e6c1c2e3d4ba4fd5d557adb321a094e1 /drivers/media/video/cx23885/cx23885-cards.c
parentV4L/DVB (7044): XC5000: Fix support for HVR1500Q broken by patch 1 (diff)
downloadkernel-qcow2-linux-73c993a8294077ae1b724286da8ac323c25d90db.tar.gz
kernel-qcow2-linux-73c993a8294077ae1b724286da8ac323c25d90db.tar.xz
kernel-qcow2-linux-73c993a8294077ae1b724286da8ac323c25d90db.zip
V4L/DVB (7045): xc5000: Small amount of cleanup and commenting
xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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)
/* 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) {
@@ -271,7 +271,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) {