提交 4ecbc28d 编写于 作者: M Mike Isely 提交者: Mauro Carvalho Chehab

V4L/DVB (11179): pvrusb2: make sub-device specific update function names uniform

Signed-off-by: NMike Isely <isely@pobox.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 01c59df8
...@@ -111,7 +111,7 @@ typedef void (*pvr2_subdev_update_func)(struct pvr2_hdw *, ...@@ -111,7 +111,7 @@ typedef void (*pvr2_subdev_update_func)(struct pvr2_hdw *,
struct v4l2_subdev *); struct v4l2_subdev *);
static const pvr2_subdev_update_func pvr2_module_update_functions[] = { static const pvr2_subdev_update_func pvr2_module_update_functions[] = {
[PVR2_CLIENT_ID_WM8775] = pvr2_wm8775_update, [PVR2_CLIENT_ID_WM8775] = pvr2_wm8775_subdev_update,
[PVR2_CLIENT_ID_SAA7115] = pvr2_saa7115_subdev_update, [PVR2_CLIENT_ID_SAA7115] = pvr2_saa7115_subdev_update,
}; };
......
...@@ -160,7 +160,7 @@ int pvr2_i2c_wm8775_setup(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp) ...@@ -160,7 +160,7 @@ int pvr2_i2c_wm8775_setup(struct pvr2_hdw *hdw,struct pvr2_i2c_client *cp)
} }
void pvr2_wm8775_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd) void pvr2_wm8775_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd)
{ {
if (hdw->input_dirty) { if (hdw->input_dirty) {
struct v4l2_routing route; struct v4l2_routing route;
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
int pvr2_i2c_wm8775_setup(struct pvr2_hdw *,struct pvr2_i2c_client *); int pvr2_i2c_wm8775_setup(struct pvr2_hdw *,struct pvr2_i2c_client *);
#include "pvrusb2-hdw-internal.h" #include "pvrusb2-hdw-internal.h"
void pvr2_wm8775_update(struct pvr2_hdw *, struct v4l2_subdev *sd); void pvr2_wm8775_subdev_update(struct pvr2_hdw *, struct v4l2_subdev *sd);
#endif /* __PVRUSB2_WM8775_H */ #endif /* __PVRUSB2_WM8775_H */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册