From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> 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 <liushiwei@xxxxxxxxx> Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> --- arch/mips/kernel/cpufreq/loongson2_clock.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/mips/kernel/cpufreq/loongson2_clock.c b/arch/mips/kernel/cpufreq/loongson2_clock.c index d7ca256..3eaae1d 100644 --- a/arch/mips/kernel/cpufreq/loongson2_clock.c +++ b/arch/mips/kernel/cpufreq/loongson2_clock.c @@ -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 <yanh@xxxxxxxxxx>"); +MODULE_DESCRIPTION("cpuclock driver of Loongson2F"); +MODULE_LICENSE("GPL"); -- 1.7.0.1