Skip to contentSkip to conversation

Loongson: Add module info to the loongson2_clock driver

PATCH Applied Wu Zhangjin 2 participants 2 messages Mar 9, 2010 – Mar 11, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Loongson: Add module info to the loongson2_clock driver

From: Wu Zhangjin <[email protected]>

This patch fixes the warning of the tool which checks the module info of the loongson2_clock driver when inserting it into the kernel:

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

---
 arch/mips/kernel/cpufreq/loongson2_clock.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/mips/kernel/cpufreq/loongson2_clock.c +4 -0
index d7ca256..3eaae1d 100644
@@ -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("cpuclock driver of Loongson2F");
+MODULE_LICENSE("GPL");
Signature · 1 line
1.7.0.1
Applied
#1 lore raw
Quoted 8 lines · Wu Zhangjin

This patch fixes the warning of the tool which checks the module info of the loongson2_clock driver when inserting it into the kernel:

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

Thanks, applied.

Ralf