[PATCH] 2.4.22-ac1 fix drivers/isdn/hisax/st5481.h

From: Gerardo Exequiel Pozzi
Date: Sat Aug 30 2003 - 00:24:08 EST


Hi Alan,

This patch removes old printk´s and the #if from these that not is necessary,
and it leaves the correct ones (that is in your patch).

This way it is as if one patched the 2.4.22 with the patch that I sent days ago
to the LKML and as it is in the 2.6.

With this, kernel compiles of clean way without deprecated warnings. (all!)

Please apply it.

PS: Good Luck in its studies!

chau,
djgera


--- linux-2.4.22-ac1/drivers/isdn/hisax/st5481.h 2003-08-29 21:24:28.000000000 -0300
+++ linux-2.4.22-ac1-fix/drivers/isdn/hisax/st5481.h 2003-08-30 01:24:27.000000000 -0300
@@ -218,19 +218,6 @@

#define L1_EVENT_COUNT (EV_TIMER3 + 1)

-#if (__GNUC__ > 2)
-
-#define ERR(format, arg...) \
-printk(KERN_ERR __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#define WARN(format, arg...) \
-printk(KERN_WARNING __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#define INFO(format, arg...) \
-printk(KERN_INFO __FILE__ ": " __FUNCTION__ ": " format "\n" , ## arg)
-
-#else
-
#define ERR(format, arg...) \
printk(KERN_ERR __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg)

@@ -240,8 +227,6 @@
#define INFO(format, arg...) \
printk(KERN_INFO __FILE__ ": %s: " format "\n" , __FUNCTION__ , ## arg)

-#endif
-
#include "isdnhdlc.h"
#include "fsm.h"
#include "hisax_if.h"


--
Gerardo Exequiel Pozzi ( djgera )
http://www.vmlinuz.com.ar http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/