[2.6 patch] drivers/isdn/hisax/l3dss1.c: fix warning with -Wundef

From: Adrian Bunk
Date: Fri Jul 22 2005 - 16:37:54 EST


This patch fixes the following warning with -Wundef:

<-- snip -->

...
CC drivers/isdn/hisax/l3dss1.o
drivers/isdn/hisax/l3dss1.c:356:5: warning: "HISAX_DE_AOC" is not defined
...

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc3-mm1-full/drivers/isdn/hisax/l3dss1.c.old 2005-07-22 18:20:59.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/drivers/isdn/hisax/l3dss1.c 2005-07-22 18:21:42.000000000 +0200
@@ -353,7 +353,7 @@
{ l3dss1_dummy_invoke(st, cr, id, ident, p, nlen);
return;
}
-#if HISAX_DE_AOC
+#ifdef HISAX_DE_AOC
{

#define FOO1(s,a,b) \

-
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/