Loongson: Add module info to the loongson2_clock driver
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."
Reported-by Liu Shiwei <[email protected]>
Signed-off-by Wu Zhangjin <[email protected]>
--- arch/mips/kernel/cpufreq/loongson2_clock.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/mips/kernel/cpufreq/loongson2_clock.c +4 -0
@@ -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
Ralf Baechle
AppliedQuoted 8 lines · Wu Zhangjin
This patch fixes the warning of the tool which checks the module info of the
loongson2_clockdriver when inserting it into the kernel:"Feb 25 23:42:27 localhost kernel: [ 4.965000]
loongson2_clock: module
license 'unspecified' taints kernel."Reported-by Liu Shiwei <[email protected]>Signed-off-by Wu Zhangjin <[email protected]>
Thanks, applied.
Ralf