Commit:     b46d60fc4b2665107a04f75e5381294bfaf20177
Parent:     8a61499bc769f3e12c7f866f7283728308fff6ad
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 23 12:51:55 2007 -0700
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Mon Mar 26 14:17:48 2007 -0700

    USB: fix usb-serial/generic build warning
    Fix annoying build warning when CONFIG_USB_SERIAL_GENERIC is undefined.
      drivers/usb/serial/generic.c:24: warning: `generic_probe' declared 
`static' but never defined
    Signed-off-by: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/serial/generic.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index 53baeec..4f8282a 100644
--- a/drivers/usb/serial/generic.c
+++ b/drivers/usb/serial/generic.c
@@ -20,13 +20,14 @@
 #include <linux/usb/serial.h>
 #include <asm/uaccess.h>
-static int generic_probe(struct usb_interface *interface,
-                        const struct usb_device_id *id);
 static int debug;
+static int generic_probe(struct usb_interface *interface,
+                        const struct usb_device_id *id);
 static __u16 vendor  = 0x05f9;
 static __u16 product = 0xffff;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to