aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShangbing Hu <shangbing.hu@mediatek.com>2016-07-13 06:33:24 +0800
committerShangbing Hu <shangbing.hu@mediatek.com>2016-07-13 06:33:24 +0800
commitad8db842ce31c32a268a9d7f8de6f1e214f8b871 (patch)
treebbd305da45eaa5bbf64b1ff006c4d038b19cd069
parent055ecbb580d645ead718aee04b602350d6e1bb0e (diff)
[ALPS02718041] IR: add license statement
[Detail] IR driver is written by MTK, so MTK copyright and GPLV2 license statement is required in each file. [Solution] Add license statement in file. MTK-Commit-Id: 770096239d8c0851c7870ceb7e9a53daad699e7f Change-Id: I2ef86473d13bcfae8a882c91a860892bb9e3502b Signed-off-by: Shangbing Hu <shangbing.hu@mediatek.com> CR-Id: ALPS02718041 Feature: Modem Interface Driver
-rw-r--r--drivers/misc/mediatek/ir_learning/Makefile13
-rw-r--r--drivers/misc/mediatek/ir_learning/mt_irlearning.c13
-rw-r--r--drivers/misc/mediatek/ir_learning/mt_irlearning.h12
3 files changed, 38 insertions, 0 deletions
diff --git a/drivers/misc/mediatek/ir_learning/Makefile b/drivers/misc/mediatek/ir_learning/Makefile
index 8ab405875330..8906f44363d4 100644
--- a/drivers/misc/mediatek/ir_learning/Makefile
+++ b/drivers/misc/mediatek/ir_learning/Makefile
@@ -1,3 +1,16 @@
+#
+# Copyright (C) 2016 MediaTek Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See http://www.gnu.org/licenses/gpl-2.0.html for more details.
+#
+
ccflags-y += -I$(srctree)/drivers/spi/mediatek/$(MTK_PLATFORM)
obj-$(CONFIG_MTK_IR_LEARNING_SUPPORT) := mt_irlearning.o
diff --git a/drivers/misc/mediatek/ir_learning/mt_irlearning.c b/drivers/misc/mediatek/ir_learning/mt_irlearning.c
index be3ba6780e83..dab744b87b14 100644
--- a/drivers/misc/mediatek/ir_learning/mt_irlearning.c
+++ b/drivers/misc/mediatek/ir_learning/mt_irlearning.c
@@ -1,3 +1,16 @@
+/*
+* Copyright (C) 2016 MediaTek Inc.
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2 as
+* published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+* See http://www.gnu.org/licenses/gpl-2.0.html for more details.
+*/
+
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
diff --git a/drivers/misc/mediatek/ir_learning/mt_irlearning.h b/drivers/misc/mediatek/ir_learning/mt_irlearning.h
index 7a20b72ec863..79c855c9c53d 100644
--- a/drivers/misc/mediatek/ir_learning/mt_irlearning.h
+++ b/drivers/misc/mediatek/ir_learning/mt_irlearning.h
@@ -1,3 +1,15 @@
+/*
+* Copyright (C) 2016 MediaTek Inc.
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2 as
+* published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+* See http://www.gnu.org/licenses/gpl-2.0.html for more details.
+*/
#define DEV_NAME "ir-learning"
#define SPI_BUF_LEN (256*1024)