[media] dvb_usb_v2: pass (struct dvb_usb_device *) as a parameter for fw download
authorAntti Palosaari <crope@iki.fi>
Wed, 23 May 2012 23:45:05 +0000 (20:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:20 +0000 (07:56 -0300)
commit496e82789935df7a9b13ce58807973004e443847
treec34197165962d0b0c0bb688b02482fa497488dae
parent55b1f7040484f6bebaa3407bb0b27e87bbc33e70
[media] dvb_usb_v2: pass (struct dvb_usb_device *) as a parameter for fw download

Change parameter (struct usb_device *) => (struct dvb_usb_device *)
for .identify_state() and .download_firmware() callbacks.

struct usb_device * did not provide handle for the DVB USB driver state.
Change DVB USB framework to alloc space for the priv earlier and pass
that pointer to the device driver using (struct dvb_usb_device *)
as a callback parameter.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb.h
drivers/media/dvb/dvb-usb/dvb_usb_common.h
drivers/media/dvb/dvb-usb/dvb_usb_firmware.c
drivers/media/dvb/dvb-usb/dvb_usb_init.c
This page took 0.026508 seconds and 5 git commands to generate.