From: Pavel Machek <pavel@ucw.cz>
To: Russell King <rmk@arm.linux.org.uk>,
kernel list <linux-kernel@vger.kernel.org>
Subject: [patch] Fix macro abuse in pcmcia/cistpl.c
Date: Mon, 22 Aug 2005 20:42:57 +0200 [thread overview]
Message-ID: <20050822184257.GA2106@elf.ucw.cz> (raw)
Hi!
Please apply,
Pavel
Fix macro abuse in pcmcia.
Signed-off-by: Pavel Machek <pavel@suse.cz>
---
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(-)
diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
--- 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 = 0;
+module_param(cis_width, int, 0444);
void release_cis_mem(struct pcmcia_socket *s)
{
--
if you have sharp zaurus hardware you don't need... you know my address
next reply other threads:[~2005-08-22 18:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 18:42 Pavel Machek [this message]
2005-08-28 17:33 ` [patch] Fix macro abuse in pcmcia/cistpl.c Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050822184257.GA2106@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox