V4L/DVB (11179): pvrusb2: make sub-device specific update function names uniform
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
01c59df818
commit
4ecbc28d3d
@@ -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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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 @@
|
|||||||
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 */
|
||||||
|
Reference in New Issue
Block a user