spin_unlock_irqrestore(&dev->irq_lock, flags);
if (int_status & 0xFF0000FF)
- handled = tw686x_video_irq(dev);
+ handled = tw686x_kh_video_irq(dev);
}
return IRQ_RETVAL(handled);
return err;
}
- err = tw686x_video_init(dev);
+ err = tw686x_kh_video_init(dev);
if (err)
return err;
{
struct tw686x_dev *dev = pci_get_drvdata(pci_dev);
- tw686x_video_free(dev);
+ tw686x_kh_video_free(dev);
}
/* driver_data is number of A/V channels */
return 0;
}
-const struct v4l2_file_operations tw686x_video_fops = {
+static const struct v4l2_file_operations tw686x_video_fops = {
.owner = THIS_MODULE,
.open = v4l2_fh_open,
.unlocked_ioctl = video_ioctl2,
.mmap = vb2_fop_mmap,
};
-const struct v4l2_ioctl_ops tw686x_video_ioctl_ops = {
+static const struct v4l2_ioctl_ops tw686x_video_ioctl_ops = {
.vidioc_querycap = tw686x_querycap,
.vidioc_enum_fmt_vid_cap = tw686x_enum_fmt_vid_cap,
.vidioc_g_fmt_vid_cap = tw686x_g_fmt_vid_cap,
return 0;
}
-int tw686x_video_irq(struct tw686x_dev *dev)
+int tw686x_kh_video_irq(struct tw686x_dev *dev)
{
unsigned long flags, handled = 0;
u32 requests;
return handled;
}
-void tw686x_video_free(struct tw686x_dev *dev)
+void tw686x_kh_video_free(struct tw686x_dev *dev)
{
unsigned int ch, n;
#define SG_TABLE_SIZE (MAX_SG_DESC_COUNT * sizeof(struct vdma_desc))
-int tw686x_video_init(struct tw686x_dev *dev)
+int tw686x_kh_video_init(struct tw686x_dev *dev)
{
unsigned int ch, n;
int err;
return 0;
error:
- tw686x_video_free(dev);
+ tw686x_kh_video_free(dev);
return err;
}
return dev->type & TYPE_SECOND_GEN;
}
-int tw686x_video_irq(struct tw686x_dev *dev);
-int tw686x_video_init(struct tw686x_dev *dev);
-void tw686x_video_free(struct tw686x_dev *dev);
+int tw686x_kh_video_irq(struct tw686x_dev *dev);
+int tw686x_kh_video_init(struct tw686x_dev *dev);
+void tw686x_kh_video_free(struct tw686x_dev *dev);