Skip to contentSkip to conversation

Fix macro abuse in pcmcia/cistpl.c

PATCH In review Pavel Machek 2 participants 2 messages Aug 22, 2005 – Aug 28, 2005 Pcmcia

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix macro abuse in pcmcia/cistpl.c

Hi!

Please apply,
Pavel

Fix macro abuse in pcmcia.

---
commit 486ece208a1ae323fce89fc3b4b5b4b522a1b4b8 tree 1c9aa703b585a65acbd038c053dbf42c9603e281 parent b4b834e36f0180e1036a7a8ba8505b6d4165596e author <pavel@amd.(none)> Mon, 22 Aug 2005 20:42:10 +0200 committer <pavel@amd.(none)> Mon, 22 Aug 2005 20:42:10 +0200

 drivers/pcmcia/cistpl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/pcmcia/cistpl.c +3 -3
@@ -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)
 {
Signature · 1 line
if you have sharp zaurus hardware you don't need... you know my address
#1 lore raw
Quoted 1 line · Pavel Machek

Please apply,

Unfortunately not - I don't look after PCMCIA anymore. Please send this to Dominik Brodowski.

Thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core