arm: eliminate MODULE_PARM() usage
Subsystems (3)
PATCH 1/1 arm: eliminate MODULE_PARM() usage
From: Randy Dunlap <[email protected]>
Convert debug-only (and removed) MODULE_PARM() to module_param(). Compiles cleanly (with DEBUG=1).
Signed-off-by Randy Dunlap <[email protected]>
--- arch/arm/mach-pxa/cpu-pxa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-pxa/cpu-pxa.c +1 -1
@@ -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
Russell King
AppliedQuoted 4 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Convert debug-only (and removed)
MODULE_PARM()tomodule_param(). Compiles cleanly (with DEBUG=1).
Applied, thanks.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: