linux-mips
[Top] [All Lists]

[PATCH] Loongson: Add module info to the loongson2_clock driver

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] Loongson: Add module info to the loongson2_clock driver
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 10 Mar 2010 00:53:21 +0800
Cc: linux-mips@linux-mips.org, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=bPQ808PTuOzOs9H1lNEBXTRB+1OBivpqMYhXWPYuFNo=; b=JVwge/m92trriRcUHLhO83vZipa7EH5NIbTNWrg642drTZJ+wekxHEBLOP5BFrY6F+ 15J70vpNl7uOP675revfRSk37KwQtpsYkIafHfYDxl5op97mEsVOcJUFt7CzzTQ5iuzU MnhamojHxjojbYXsqjqHE2av6pnY04rFAmses=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=A4vVcdfd1nUBugEnoOWNnkPzY8KXZzorA5aBdwTr/5OYQCf14apBuNaUFtJRChhug/ CK6XJuPD3oN+4+1MXiXK6K8BMHWxFk6CbjGR1iCKtlAKRWPge4r8mqSZYMHZmEediSe9 Kzee6TloiTfWVbUqV/taPdRYHCc04WTNBesY0=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

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@gmail.com>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 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@lemote.com>");
+MODULE_DESCRIPTION("cpuclock driver of Loongson2F");
+MODULE_LICENSE("GPL");
-- 
1.7.0.1


<Prev in Thread] Current Thread [Next in Thread>