Skip to content

Commit

Permalink
rtc: goldfish: Add missing MODULE_LICENSE
Browse files Browse the repository at this point in the history
[ Upstream commit 82d632b ]

Fix the following warning in MIPS allmodconfig by adding a
MODULE_LICENSE() at the end of rtc-goldfish.c, based on the file header
comment which says GNU General Public License version 2:

WARNING: modpost: missing MODULE_LICENSE() in drivers/rtc/rtc-goldfish.o

Fixes: f22d9cd ("rtc: goldfish: Add RTC driver for Android emulator")
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Miodrag Dinic <miodrag.dinic@mips.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: linux-rtc@vger.kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
James Hogan authored and Greg Kroah-Hartman committed May 25, 2018
1 parent 7ee468a commit 9951b29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/rtc/rtc-goldfish.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,5 @@ static struct platform_driver goldfish_rtc = {
};

module_platform_driver(goldfish_rtc);

MODULE_LICENSE("GPL v2");

0 comments on commit 9951b29

Please sign in to comment.