[PATCH] Input: palmas-pwrbutton: Fix typo in License

Nishanth Menon nm at ti.com
Mon Sep 15 10:58:57 PDT 2014


Follow the license string convention indicated in include/linux/module.h
(don't capitalize v).

This fixes following randconfig warning:
FATAL: modpost: GPL-incompatible module palmas-pwrbutton.ko uses GPL-only symbol 'platform_driver_unregister'

Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Reported-by: Jim Davis <jim.epost at gmail.com>
Signed-off-by: Nishanth Menon <nm at ti.com>
---
Reported thread http://marc.info/?l=linux-input&m=141080223209150&w=2

 drivers/input/misc/palmas-pwrbutton.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/misc/palmas-pwrbutton.c b/drivers/input/misc/palmas-pwrbutton.c
index 3f90211..4ed6f78 100644
--- a/drivers/input/misc/palmas-pwrbutton.c
+++ b/drivers/input/misc/palmas-pwrbutton.c
@@ -326,5 +326,5 @@ module_platform_driver(palmas_pwron_driver);
 
 MODULE_ALIAS("platform:palmas-pwrbutton");
 MODULE_DESCRIPTION("Palmas Power Button");
-MODULE_LICENSE("GPL V2");
+MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Texas Instruments Inc.");
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list