[PATCH] phy: Fix typo in drivers/phy/phy-exynos5250-sata.c module which fixes the build

Guillaume Gardet
2014-06-12T08:18:23Z

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Hi,

please find in attachment a patch which fixes a typo in drivers/phy/phy-exynos5250-sata.c module license.
It fixes the following build error:
FATAL: modpost: GPL-incompatible module phy-exynos5250-sata.ko uses GPL-only symbol 'platform_driver_unregister'

Please keep me in CC since I am not subscribed to the linux-kernel@vger.kernel.org ML.

Signed-off-by: Guillaume GARDET <guillaume.gardet@opensuse.org>

Regards,

Guillaume

[-- Attachment #2: 0001-Fix-typo-in-drivers-phy-phy-exynos5250-sata.c-module.patch --]
[-- Type: text/x-patch, Size: 1035 bytes --]

>From d46b09fbf39bb8820b65e064482b923252379b8a Mon Sep 17 00:00:00 2001
From: Guillaume GARDET <guillaume.gardet@opensuse.org>
Date: Thu, 12 Jun 2014 10:02:15 +0200
Subject: [PATCH] Fix typo in drivers/phy/phy-exynos5250-sata.c module
license. It fixes the following error: FATAL: modpost:
GPL-incompatible module phy-exynos5250-sata.ko uses
GPL-only symbol 'platform_driver_unregister'

---
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>");
--
1.7.10.4