diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-dvb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index 1f1f56ff6294..b22f8fed8127 100644 --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c | |||
@@ -270,7 +270,8 @@ static int em28xx_stop_feed(struct dvb_demux_feed *feed) | |||
270 | /* ------------------------------------------------------------------ */ | 270 | /* ------------------------------------------------------------------ */ |
271 | static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) | 271 | static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) |
272 | { | 272 | { |
273 | struct em28xx *dev = fe->dvb->priv; | 273 | struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; |
274 | struct em28xx *dev = i2c_bus->dev; | ||
274 | 275 | ||
275 | if (acquire) | 276 | if (acquire) |
276 | return em28xx_set_mode(dev, EM28XX_DIGITAL_MODE); | 277 | return em28xx_set_mode(dev, EM28XX_DIGITAL_MODE); |