diff options
Diffstat (limited to 'drivers/misc/mediatek/ir_learning')
-rw-r--r-- | drivers/misc/mediatek/ir_learning/Makefile | 13 | ||||
-rw-r--r-- | drivers/misc/mediatek/ir_learning/mt_irlearning.c | 13 | ||||
-rw-r--r-- | drivers/misc/mediatek/ir_learning/mt_irlearning.h | 12 |
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) |