[alsa-devel] [PATCH -next] sound: rtctimer.c needs module.h

Randy Dunlap rdunlap at xenotime.net
Sat Jul 30 06:14:12 CEST 2011


From: Randy Dunlap <rdunlap at xenotime.net>

rtctimer.c uses interfaces from linux/module.h, so it should
include that file.  This fixes build errors.

Signed-off-by: Randy Dunlap <rdunlap at xenotime.net>
---
 sound/core/rtctimer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110729.orig/sound/core/rtctimer.c
+++ linux-next-20110729/sound/core/rtctimer.c
@@ -22,7 +22,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
-#include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <linux/log2.h>
 #include <sound/core.h>
 #include <sound/timer.h>


More information about the Alsa-devel mailing list