diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-context.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-context.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-context.c b/drivers/media/video/pvrusb2/pvrusb2-context.c index 2a6726e403f0..953784c08abb 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-context.c +++ b/drivers/media/video/pvrusb2/pvrusb2-context.c | |||
@@ -75,10 +75,9 @@ struct pvr2_context *pvr2_context_create( | |||
75 | mp = NULL; | 75 | mp = NULL; |
76 | goto done; | 76 | goto done; |
77 | } | 77 | } |
78 | pvr2_hdw_set_state_callback(mp->hdw, | 78 | pvr2_hdw_initialize(mp->hdw, |
79 | (void (*)(void *))pvr2_context_state_check, | 79 | (void (*)(void *))pvr2_context_state_check, |
80 | mp); | 80 | mp); |
81 | pvr2_context_state_check(mp); | ||
82 | done: | 81 | done: |
83 | return mp; | 82 | return mp; |
84 | } | 83 | } |