cdc-subset: make compile with all config options
PATCH 1/1 cdc-subset: make compile with all config options
My earlier patch introduced helper methods errornously subject to conditional compilation. This patch makes them available under all config options.
--- drivers/net/usb/cdc_subset.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-)
drivers/net/usb/cdc_subset.c +9 -11
@@ -99,16 +99,6 @@ static void m5632_recover(struct usbnet *dev)usb_unlock_device (udev); } -static int dummy_prereset (struct usb_interface *intf) -{ -return 0 ; -} - -static int dummy_postreset (struct usb_interface *intf) -{ -return 0 ; -} -static const struct driver_info ali_m5632_info = { .description ="ALi M5632" , .flags =FLAG_POINTTOPOINT ,
@@ -117,7 +107,6 @@ static const struct driver_info ali_m5632_info = {#endif -#ifdef CONFIG_USB_AN2720 #define HAVE_HARDWARE
@@ -351,6 +340,15 @@ static const struct usb_device_id products [] = {MODULE_DEVICE_TABLE (usb, products);/*-------------------------------------------------------------------------*/ +static int dummy_prereset (struct usb_interface *intf) +{ +return 0 ; +} + +static int dummy_postreset (struct usb_interface *intf) +{ +return 0 ; +}static struct usb_driver cdc_subset_driver = { .name ="cdc_subset" ,
Signature · 1 line
1.8.4.5
David Miller
maintainerFrom: Oliver Neukum <[email protected]>
Date: Wed, 30 Jul 2014 10:54:46 +0200
Quoted 5 lines
My earlier patch introduced helper methods errornously subject to conditional compilation. This patch makes them available under all config options.
Signed-off-by Oliver Neukum <[email protected]>
Oliver, since I had Linus revert your patch (in order to expedite the 3.16-final release), you'll need to send me your original patch with these fixes here included.
Thanks.
Quoted 7 lines · David Miller
From: Oliver Neukum <[email protected]>
Date: Wed, 30 Jul 2014 10:54:46 +0200Quoted 4 lines
My earlier patch introduced helper methods errornously subject to conditional compilation. This patch makes them available under all config options.
Quoted 5 lines
Quoted 1 line
Signed-off-by Oliver Neukum <[email protected]>Oliver, since I had Linus revert your patch (in order to expedite the 3.16-final release), you'll need to send me your original patch with these fixes here included.
On the way.
Sorry
Oliver