netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cdc-subset: make compile with all config options
@ 2014-07-30  8:54 Oliver Neukum
  2014-07-30 20:20 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Neukum @ 2014-07-30  8:54 UTC (permalink / raw)
  To: davem, netdev; +Cc: Oliver Neukum

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 <oneukum@suse.de>
---
 drivers/net/usb/cdc_subset.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/drivers/net/usb/cdc_subset.c b/drivers/net/usb/cdc_subset.c
index 3ef411e..6ea98cf 100644
--- a/drivers/net/usb/cdc_subset.c
+++ b/drivers/net/usb/cdc_subset.c
@@ -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
 
-\f
 #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",
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cdc-subset: make compile with all config options
  2014-07-30  8:54 [PATCH] cdc-subset: make compile with all config options Oliver Neukum
@ 2014-07-30 20:20 ` David Miller
  2014-08-01 12:02   ` Oliver Neukum
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2014-07-30 20:20 UTC (permalink / raw)
  To: oneukum; +Cc: netdev

From: Oliver Neukum <oneukum@suse.de>
Date: Wed, 30 Jul 2014 10:54:46 +0200

> 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 <oneukum@suse.de>

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cdc-subset: make compile with all config options
  2014-07-30 20:20 ` David Miller
@ 2014-08-01 12:02   ` Oliver Neukum
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Neukum @ 2014-08-01 12:02 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Wed, 2014-07-30 at 13:20 -0700, David Miller wrote:
> From: Oliver Neukum <oneukum@suse.de>
> Date: Wed, 30 Jul 2014 10:54:46 +0200
> 
> > 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 <oneukum@suse.de>
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-01 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30  8:54 [PATCH] cdc-subset: make compile with all config options Oliver Neukum
2014-07-30 20:20 ` David Miller
2014-08-01 12:02   ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).