diff options
author | Duncan Sands <baldrick@free.fr> | 2006-01-17 05:16:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 20:23:39 -0500 |
commit | 35644b0cce0ab8735944dcbfceb19e9e65da9a3d (patch) | |
tree | caa13c8519c7417fa0adf173cec98b994745c79f /drivers/usb/atm/xusbatm.c | |
parent | 0ec3c7e856319b600311750d784262caa8ed94b9 (diff) |
[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>
Diffstat (limited to 'drivers/usb/atm/xusbatm.c')
-rw-r--r-- | drivers/usb/atm/xusbatm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c index 8f55642f376f..172c82174397 100644 --- a/drivers/usb/atm/xusbatm.c +++ b/drivers/usb/atm/xusbatm.c | |||
@@ -62,8 +62,7 @@ static int usb_intf_has_ep(const struct usb_interface *intf, u8 ep) | |||
62 | } | 62 | } |
63 | 63 | ||
64 | static int xusbatm_bind(struct usbatm_data *usbatm, | 64 | static int xusbatm_bind(struct usbatm_data *usbatm, |
65 | struct usb_interface *intf, const struct usb_device_id *id, | 65 | struct usb_interface *intf, const struct usb_device_id *id) |
66 | int *need_heavy_init) | ||
67 | { | 66 | { |
68 | struct usb_device *usb_dev = interface_to_usbdev(intf); | 67 | struct usb_device *usb_dev = interface_to_usbdev(intf); |
69 | int drv_ix = id - xusbatm_usb_ids; | 68 | int drv_ix = id - xusbatm_usb_ids; |