public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: eliminate MODULE_PARM() usage
@ 2008-02-27 20:11 Randy Dunlap
  2008-02-28 19:35 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-02-27 20:11 UTC (permalink / raw)
  To: kernel, nico, rmk; +Cc: lkml

From: Randy Dunlap <randy.dunlap@oracle.com>

Convert debug-only (and removed) MODULE_PARM() to module_param().
Compiles cleanly (with DEBUG=1).

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 arch/arm/mach-pxa/cpu-pxa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- next-20080227.orig/arch/arm/mach-pxa/cpu-pxa.c
+++ next-20080227/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-28 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-27 20:11 [PATCH] arm: eliminate MODULE_PARM() usage Randy Dunlap
2008-02-28 19:35 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox