aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index b10b90d97578..e61e34821fd6 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2045,6 +2045,7 @@ static int pvr2_hdw_load_subdev(struct pvr2_hdw *hdw,
2045 * and every other place where I can find examples of this, the 2045 * and every other place where I can find examples of this, the
2046 * "chipid" appears to just be the module name again. So here we 2046 * "chipid" appears to just be the module name again. So here we
2047 * just do the same thing. */ 2047 * just do the same thing. */
2048 hdw->i2c_adap.class = 0;
2048 if (i2ccnt == 1) { 2049 if (i2ccnt == 1) {
2049 pvr2_trace(PVR2_TRACE_INIT, 2050 pvr2_trace(PVR2_TRACE_INIT,
2050 "Module ID %u:" 2051 "Module ID %u:"
@@ -2062,6 +2063,7 @@ static int pvr2_hdw_load_subdev(struct pvr2_hdw *hdw,
2062 fname, fname, 2063 fname, fname,
2063 i2caddr); 2064 i2caddr);
2064 } 2065 }
2066 hdw->i2c_adap.class = I2C_CLASS_TV_ANALOG;
2065 2067
2066 if (!sd) { 2068 if (!sd) {
2067 pvr2_trace(PVR2_TRACE_ERROR_LEGS, 2069 pvr2_trace(PVR2_TRACE_ERROR_LEGS,