media: video: tegra: Add GPL license to torch and focuser
Preetham Chandru [Thu, 19 Jan 2012 07:54:45 +0000 (12:54 +0530)]
sh532u focuser driver, ssl3250a torch driver and tps61050 torch driver
make references to kernel functions which are GPL-only symbols.
L4T requires that these drivers be built as modules and
without making it GPL compatible, the module fails to get loaded.
Hence GPL license is added.

Bug: 928498
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/76172
(cherry picked from commit 148d4d99066f904141c85a0fad36483bc1570d02)

Change-Id: I11ab4b20bab504cb11b04a6e7746e0bae02d9fbf
Reviewed-on: http://git-master/r/76786
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amit Pandya <apandya@nvidia.com>
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/media/video/tegra/sh532u.c
drivers/media/video/tegra/ssl3250a.c
drivers/media/video/tegra/tps61050.c

index 6723fae..7db14fc 100644 (file)
@@ -1685,4 +1685,4 @@ static void __exit sh532u_exit(void)
 
 module_init(sh532u_init);
 module_exit(sh532u_exit);
-
+MODULE_LICENSE("GPL");
index 30c70bf..ef2c80a 100644 (file)
@@ -983,4 +983,4 @@ static void __exit ssl3250a_exit(void)
 
 module_init(ssl3250a_init);
 module_exit(ssl3250a_exit);
-
+MODULE_LICENSE("GPL");
index e30ebb4..8e95dd2 100644 (file)
@@ -987,3 +987,4 @@ static void __exit tps61050_exit(void)
 
 module_init(tps61050_init);
 module_exit(tps61050_exit);
+MODULE_LICENSE("GPL");