summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/cistpl.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-09-07 16:00:26 -0700
committerDominik Brodowski <linux@dominikbrodowski.net>2006-01-05 23:40:25 +0100
commit37f779554404ddca981ac4b4cc6692fc09b71e96 (patch)
treea61a0a7e813dd473834eb4d736e32e8e7652221e /drivers/pcmcia/cistpl.c
parentdb9edfd7e339ca4113153d887e782dd05be5a9eb (diff)
[PATCH] pcmcia: avoid macro usage in cistpl
Fix macro abuse in pcmcia. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cistpl.c')
-rw-r--r--drivers/pcmcia/cistpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index 2dc3e611a9a3..55d7247b58e7 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -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)
{