[PATCH 1/13] pcmcia: avoid macro usage
Dominik Brodowski
linux at dominikbrodowski.net
Wed Sep 7 17:36:39 EDT 2005
From: Pavel Machek <pavel at ucw.cz>
Fix macro abuse in pcmcia.
Signed-off-by: Pavel Machek <pavel at suse.cz>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
drivers/pcmcia/cistpl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: 2.6.13/drivers/pcmcia/cistpl.c
===================================================================
--- 2.6.13.orig/drivers/pcmcia/cistpl.c
+++ 2.6.13/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 = 0;
+module_param(cis_width, int, 0444);
void release_cis_mem(struct pcmcia_socket *s)
{
More information about the linux-pcmcia
mailing list