[media] v4l: vsp1: Merge RPF and WPF pad ops structures
[deliverable/linux.git] / drivers / media / platform / vsp1 / vsp1_rpf.c
index eb17fa134750d787061ea9db33d90bfb12ac09df..84a3aedae768b12695e815cb3c290c49f9eb5c15 100644 (file)
@@ -36,18 +36,8 @@ static inline void vsp1_rpf_write(struct vsp1_rwpf *rpf, u32 reg, u32 data)
  * V4L2 Subdevice Operations
  */
 
-static struct v4l2_subdev_pad_ops rpf_pad_ops = {
-       .init_cfg = vsp1_entity_init_cfg,
-       .enum_mbus_code = vsp1_rwpf_enum_mbus_code,
-       .enum_frame_size = vsp1_rwpf_enum_frame_size,
-       .get_fmt = vsp1_rwpf_get_format,
-       .set_fmt = vsp1_rwpf_set_format,
-       .get_selection = vsp1_rwpf_get_selection,
-       .set_selection = vsp1_rwpf_set_selection,
-};
-
 static struct v4l2_subdev_ops rpf_ops = {
-       .pad    = &rpf_pad_ops,
+       .pad    = &vsp1_rwpf_pad_ops,
 };
 
 /* -----------------------------------------------------------------------------
This page took 0.025438 seconds and 5 git commands to generate.