Skip to content

Commit

Permalink
[ARM] eliminate MODULE_PARM() usage
Browse files Browse the repository at this point in the history
Convert debug-only (and removed) MODULE_PARM() to module_param().
Compiles cleanly (with DEBUG=1).

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
rddunlap authored and Russell King committed Feb 29, 2008
1 parent 5ce94e9 commit c710e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/cpu-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c710e39

Please sign in to comment.