]> err.no Git - linux-2.6/commitdiff
[PATCH] pcmcia: avoid macro usage in cistpl
authorPavel Machek <pavel@ucw.cz>
Wed, 7 Sep 2005 23:00:26 +0000 (16:00 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 5 Jan 2006 22:40:25 +0000 (23:40 +0100)
Fix macro abuse in pcmcia.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cistpl.c

index 2dc3e611a9a3473fbbb2a715db4de58d270a3f63..55d7247b58e7dd08e1938156671ccf51c71c3692 100644 (file)
@@ -60,9 +60,9 @@ static const u_int exponent[] = {
 
 /* Parameters that can be set with 'insmod' */
 
-#define INT_MODULE_PARM(n, v) static int n = v; module_param(n, int, 0444)
-
-INT_MODULE_PARM(cis_width,     0);             /* 16-bit CIS? */
+/* 16-bit CIS? */
+static int cis_width;
+module_param(cis_width, int, 0444);
 
 void release_cis_mem(struct pcmcia_socket *s)
 {