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>
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index ee3f1b0..2d414da 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -247,9 +247,9 @@
/* 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 @@
return 0; /* Should never be here */
}
-EXPORT_SYMBOL(cx23885_tuner_callback);
+
void cx23885_gpio_setup(struct cx23885_dev *dev)
{
switch(dev->board) {