MIPS: Loongson: Add module info to the loongson2_clock driver
authorWu Zhangjin <[email protected]>
Tue, 9 Mar 2010 16:53:21 +0000 (00:53 +0800)
committerRalf Baechle <[email protected]>
Mon, 12 Apr 2010 16:26:12 +0000 (17:26 +0100)
This patch fixes a kernel warning when loading the the loongson2_clock
driver:

"Feb 25 23:42:27 localhost kernel: [    4.965000] loongson2_clock: module
license 'unspecified' taints kernel."

Signed-off-by: Wu Zhangjin <[email protected]>
Reported-by: Liu Shiwei <[email protected]>
Cc: [email protected]
Patchwork: http://patchwork.linux-mips.org/patch/1045/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/kernel/cpufreq/loongson2_clock.c

index d7ca256e33ef9615547686c6a1e9ab24ae057311..cefc6e259bafd3acd986588af2c87a6e3ce0f32d 100644 (file)
@@ -164,3 +164,7 @@ void loongson2_cpu_wait(void)
        spin_unlock_irqrestore(&loongson2_wait_lock, flags);
 }
 EXPORT_SYMBOL_GPL(loongson2_cpu_wait);
+
+MODULE_AUTHOR("Yanhua <[email protected]>");
+MODULE_DESCRIPTION("cpufreq driver for Loongson 2F");
+MODULE_LICENSE("GPL");