You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] dvb: usb: core: change dvb_usb_device_init() API
Change the init call to optionally return the new dvb_usb_device directly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
62703b9d72
commit
47dc3d688d
@@ -127,7 +127,7 @@ struct dvb_usb_device;
|
||||
* helper functions.
|
||||
*
|
||||
* @urb: describes the kind of USB transfer used for MPEG2-TS-streaming.
|
||||
* Currently only BULK is implemented
|
||||
* (BULK or ISOC)
|
||||
*
|
||||
* @num_device_descs: number of struct dvb_usb_device_description in @devices
|
||||
* @devices: array of struct dvb_usb_device_description compatibles with these
|
||||
@@ -310,7 +310,7 @@ struct dvb_usb_device {
|
||||
void *priv;
|
||||
};
|
||||
|
||||
extern int dvb_usb_device_init(struct usb_interface *, struct dvb_usb_properties *, struct module *);
|
||||
extern int dvb_usb_device_init(struct usb_interface *, struct dvb_usb_properties *, struct module *, struct dvb_usb_device **);
|
||||
extern void dvb_usb_device_exit(struct usb_interface *);
|
||||
|
||||
/* the generic read/write method for device control */
|
||||
|
||||
Reference in New Issue
Block a user