[PATCH 2/2] phy: exynos: fix SATA phy license typo

Paul Bolle
2014-05-08T18:46:10Z

On Thu, 2014-05-08 at 16:46 +0200, Arnd Bergmann wrote:
> If the license string doesn't match exactly, the module refuses
> to load.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: Kukjin Kim <kgene.kim@samsung.com>
> Cc: linux-samsung-soc at vger.kernel.org
> ---
> drivers/phy/phy-exynos5250-sata.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/phy-exynos5250-sata.c b/drivers/phy/phy-exynos5250-sata.c
> index c9361b7..0568945 100644
> --- a/drivers/phy/phy-exynos5250-sata.c
> +++ b/drivers/phy/phy-exynos5250-sata.c
> @@ -246,6 +246,6 @@ static struct platform_driver exynos_sata_phy_driver = {
> module_platform_driver(exynos_sata_phy_driver);
>
> MODULE_DESCRIPTION("Samsung SerDes PHY driver");
> -MODULE_LICENSE("GPL V2");
> +MODULE_LICENSE("GPL v2");
> MODULE_AUTHOR("Girish K S <ks.giri@samsung.com>");
> MODULE_AUTHOR("Yuvaraj C D <yuvaraj.cd@samsung.com>");

A bit of grepping the tree showed me
Documentation/blackfin/gptimers-example.c:83:MODULE_LICENSE("BSD");
drivers/dma/dma-jz4740.c:617:MODULE_LICENSE("GPLv2");
drivers/input/misc/sirfsoc-onkey.c:216:MODULE_LICENSE("GPLv2");
drivers/pci/host/pci-mvebu.c:1042:MODULE_LICENSE("GPLv2");
drivers/pci/host/pci-tegra.c:1719:MODULE_LICENSE("GPLv2");
drivers/power/reset/restart-poweroff.c:65:MODULE_LICENSE("GPLv2");

It seems these need to be changed too. But, except for dma-jz4740.c,
these are all files that can't be built as (part of) a module. Which
explains why no one noticed. Maybe I'll submit some trivial patches, in
a few days, to clean this up.

Paul Bolle