V4L/DVB (7270): cx88-dvb: Renames pci_nano callback
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 22 Apr 2008 17:45:31 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:45 +0000 (14:07 -0300)
This callback is specific to pci_nano, since supports only dvb. Renames it
to avoid future mistakes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-dvb.c

index 59180cab0a855ad7f8c9eb4729c17341dd234f90..cf6b9b05f49678c734822134eefc2893f8197d2c 100644 (file)
@@ -372,7 +372,7 @@ static int geniatech_dvbs_set_voltage(struct dvb_frontend *fe,
        return 0;
 }
 
-static int cx88_xc3028_callback(void *ptr, int command, int arg)
+static int cx88_pci_nano_callback(void *ptr, int command, int arg)
 {
        struct cx88_core *core = ptr;
 
@@ -774,7 +774,7 @@ static int dvb_register(struct cx8802_dev *dev)
                                .i2c_adap  = &dev->core->i2c_adap,
                                .i2c_addr  = 0x61,
                                .video_dev = dev->core,
-                               .callback  = cx88_xc3028_callback,
+                               .callback  = cx88_pci_nano_callback,
                        };
                        static struct xc2028_ctrl ctl = {
                                .fname       = "xc3028-v27.fw",