Re: [PATCH] I2C update for 2.6.7-rc1
From: Greg KH
Date: Fri May 28 2004 - 17:16:24 EST
ChangeSet 1.1717.6.27, 2004/05/19 00:26:13-07:00, ebs@xxxxxxxxxxx
[PATCH] I2C PPC4xx IIC driver: fix debug build with gcc3
this patch fixes PPC4xx IIC driver debug mode build with gcc 3.x compiler.
Noticed by Evgenij Polyakov.
drivers/i2c/busses/i2c-ibm_iic.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -Nru a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
--- a/drivers/i2c/busses/i2c-ibm_iic.c Fri May 28 14:52:17 2004
+++ b/drivers/i2c/busses/i2c-ibm_iic.c Fri May 28 14:52:17 2004
@@ -69,14 +69,14 @@
#endif
#if DBG_LEVEL > 0
-# define DBG(x...) printk(KERN_DEBUG "ibm-iic" ##x)
+# define DBG(f,x...) printk(KERN_DEBUG "ibm-iic" f, ##x)
#else
-# define DBG(x...) ((void)0)
+# define DBG(f,x...) ((void)0)
#endif
#if DBG_LEVEL > 1
-# define DBG2(x...) DBG( ##x )
+# define DBG2(f,x...) DBG(f, ##x)
#else
-# define DBG2(x...) ((void)0)
+# define DBG2(f,x...) ((void)0)
#endif
#if DBG_LEVEL > 2
static void dump_iic_regs(const char* header, struct ibm_iic_private* dev)
-
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/