diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-05 15:08:05 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:05:07 -0500 |
commit | 73c993a8294077ae1b724286da8ac323c25d90db (patch) | |
tree | 47a44433e6c1c2e3d4ba4fd5d557adb321a094e1 /drivers/media/video/cx23885/cx23885-cards.c | |
parent | 8c70017f5793e68ea48085a65008d713c9a85dde (diff) |
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.c | 6 |
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 | */ |
250 | int cx23885_tuner_callback(void *i2c_bus, int command, int arg) | 250 | int 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 | } |
274 | EXPORT_SYMBOL(cx23885_tuner_callback); | 274 | |
275 | void cx23885_gpio_setup(struct cx23885_dev *dev) | 275 | void cx23885_gpio_setup(struct cx23885_dev *dev) |
276 | { | 276 | { |
277 | switch(dev->board) { | 277 | switch(dev->board) { |