projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce94e9
)
[ARM] eliminate MODULE_PARM() usage
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 27 Feb 2008 20:11:16 +0000
(12:11 -0800)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 29 Feb 2008 22:47:17 +0000
(22:47 +0000)
Convert debug-only (and removed) MODULE_PARM() to module_param().
Compiles cleanly (with DEBUG=1).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/cpu-pxa.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/cpu-pxa.c
b/arch/arm/mach-pxa/cpu-pxa.c
index
939a386
..
4b21479
100644
(file)
--- a/
arch/arm/mach-pxa/cpu-pxa.c
+++ b/
arch/arm/mach-pxa/cpu-pxa.c
@@
-43,7
+43,7
@@
#ifdef DEBUG
static unsigned int freq_debug;
-
MODULE_PARM(freq_debug, "i"
);
+
module_param(freq_debug, uint, 0
);
MODULE_PARM_DESC(freq_debug, "Set the debug messages to on=1/off=0");
#else
#define freq_debug 0