public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.40: warning fix for drivers/usb/core/usb.c
@ 2002-10-02  1:42 Luc Van Oostenryck
  2002-10-02 18:33 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Luc Van Oostenryck @ 2002-10-02  1:42 UTC (permalink / raw)
  To: Kernel mailing list; +Cc: Greg KH

Greg,

usb_hotplug()' prototype doesn't match when CONFIG_HOTPLUG is not defined.
Here is the patch:

Regards,

Luc Van Oostenryck


diff -ur linux-2.5.40/drivers/usb/core/usb.c l-2.5.40/drivers/usb/core/usb.c
--- linux-2.5.40/drivers/usb/core/usb.c Wed Oct  2 00:35:06 2002
+++ l-2.5.40/drivers/usb/core/usb.c     Wed Oct  2 00:47:22 2002
@@ -624,7 +624,7 @@
  #else

  static int usb_hotplug (struct device *dev, char **envp,
-                       char *buffer, int buffer_size)
+                       int num_envp, char *buffer, int buffer_size)
  {
         return -ENODEV;
  }


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

end of thread, other threads:[~2002-10-02 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02  1:42 [PATCH] 2.5.40: warning fix for drivers/usb/core/usb.c Luc Van Oostenryck
2002-10-02 18:33 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox