2003-01-07 10:41:49

by Eyal Lebedinsky

[permalink] [raw]
Subject: Re: Linux 2.4.21-pre3: some compile fixes I needed

--- linux/drivers/usb/hcd/ehci-dbg.c.orig Tue Jan 7 20:55:20 2003
+++ linux/drivers/usb/hcd/ehci-dbg.c Tue Jan 7 21:00:05 2003
@@ -39,6 +39,7 @@
#define ehci_dbg(ehci, fmt, args...) do { } while (0)
#endif

+#if 0
#define ehci_err(ehci, fmt, args...) \
printk(KERN_ERR "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
@@ -48,6 +49,14 @@
#define ehci_warn(ehci, fmt, args...) \
printk(KERN_WARNING "%s %s: " fmt, hcd_name, \
(ehci)->hcd.pdev->slot_name, ## args )
+#else
+#define ehci_err(ehci, fmt, args...) \
+ do { } while (0)
+#define ehci_info(ehci, fmt, args...) \
+ do { } while (0)
+#define ehci_warn(ehci, fmt, args...) \
+ do { } while (0)
+#endif
#endif



Attachments:
2.4.21-pre3-char.patch (438.00 B)
2.4.21-pre3-sbp2.patch (830.00 B)
2.4.21-pre3-ehci-dbg.patch (703.00 B)
Download all attachments