]> err.no Git - linux-2.6/blobdiff - drivers/media/video/pvrusb2/pvrusb2-i2c-core.h
V4L/DVB (7779): pvrusb2-dvb: quiet down noise in kernel log for feed debug
[linux-2.6] / drivers / media / video / pvrusb2 / pvrusb2-i2c-core.h
index e8af5b0ed3ce3c04311edcf87609807a48261b1d..bd0807b905bbdb9ce4d4039ab7be099c59d1ea84 100644 (file)
@@ -35,10 +35,12 @@ struct pvr2_i2c_client {
        struct i2c_client *client;
        struct pvr2_i2c_handler *handler;
        struct list_head list;
+       struct pvr2_hdw *hdw;
        int detected_flag;
        int recv_enable;
        unsigned long pend_mask;
        unsigned long ctl_mask;
+       void (*status_poll)(struct pvr2_i2c_client *);
 };
 
 struct pvr2_i2c_handler {
@@ -67,6 +69,7 @@ int pvr2_i2c_core_cmd(struct pvr2_hdw *,unsigned int cmd,void *arg);
 
 int pvr2_i2c_core_check_stale(struct pvr2_hdw *);
 void pvr2_i2c_core_sync(struct pvr2_hdw *);
+void pvr2_i2c_core_status_poll(struct pvr2_hdw *);
 unsigned int pvr2_i2c_report(struct pvr2_hdw *,char *buf,unsigned int maxlen);
 #define PVR2_I2C_DETAIL_DEBUG   0x0001
 #define PVR2_I2C_DETAIL_HANDLER 0x0002
@@ -75,9 +78,6 @@ unsigned int pvr2_i2c_report(struct pvr2_hdw *,char *buf,unsigned int maxlen);
        PVR2_I2C_DETAIL_DEBUG |\
        PVR2_I2C_DETAIL_HANDLER |\
        PVR2_I2C_DETAIL_CTLMASK)
-unsigned int pvr2_i2c_client_describe(struct pvr2_i2c_client *,
-                                     unsigned int detail_mask,
-                                     char *buf,unsigned int maxlen);
 
 void pvr2_i2c_probe(struct pvr2_hdw *,struct pvr2_i2c_client *);
 const struct pvr2_i2c_op *pvr2_i2c_get_op(unsigned int idx);