public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] radio-typhoon: use correct module_param data type
@ 2005-01-16  0:20 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-01-16  0:20 UTC (permalink / raw)
  To: akpm, lkml, Henrik.Seidel

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]


Use correct data type for module_param:
drivers/media/radio/radio-typhoon.c:317: warning: return from 
incompatible pointer type

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

diffstat:=
  drivers/media/radio/radio-typhoon.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
---



[-- Attachment #2: radio_typhoon_modprm.patch --]
[-- Type: text/x-patch, Size: 537 bytes --]


diff -Naurp ./drivers/media/radio/radio-typhoon.c~rad_typh_modprm ./drivers/media/radio/radio-typhoon.c
--- ./drivers/media/radio/radio-typhoon.c~rad_typh_modprm	2005-01-10 13:28:51.000000000 -0800
+++ ./drivers/media/radio/radio-typhoon.c	2005-01-15 15:52:36.135580880 -0800
@@ -314,7 +314,7 @@ module_param(radio_nr, int, 0);
 
 #ifdef MODULE
 static unsigned long mutefreq = 0;
-module_param(mutefreq, int, 0);
+module_param(mutefreq, ulong, 0);
 MODULE_PARM_DESC(mutefreq, "Frequency used when muting the card (in kHz)");
 #endif
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-16  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16  0:20 [PATCH] radio-typhoon: use correct module_param data type Randy.Dunlap

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