projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9edfd
)
[PATCH] pcmcia: avoid macro usage in cistpl
author
Pavel Machek
<pavel@ucw.cz>
Wed, 7 Sep 2005 23:00:26 +0000
(16:00 -0700)
committer
Dominik 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/cistpl.c
b/drivers/pcmcia/cistpl.c
index 2dc3e611a9a3473fbbb2a715db4de58d270a3f63..55d7247b58e7dd08e1938156671ccf51c71c3692 100644
(file)
--- 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)
{