[PATCH] USBATM: add flags field
Have minidrivers and the core signal special requirements using a flags field in struct usbatm_data. For the moment this is only used to replace the need_heavy_init bind parameter, but there'll be new flags in later patches. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0ec3c7e856
commit
35644b0cce
@@ -62,8 +62,7 @@ static int usb_intf_has_ep(const struct usb_interface *intf, u8 ep)
|
||||
}
|
||||
|
||||
static int xusbatm_bind(struct usbatm_data *usbatm,
|
||||
struct usb_interface *intf, const struct usb_device_id *id,
|
||||
int *need_heavy_init)
|
||||
struct usb_interface *intf, const struct usb_device_id *id)
|
||||
{
|
||||
struct usb_device *usb_dev = interface_to_usbdev(intf);
|
||||
int drv_ix = id - xusbatm_usb_ids;
|
||||
|
Reference in New Issue
Block a user