lkml.org 
[lkml]   [2018]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.15 21/23] media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
    Date
    4.15-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Jesse Chan <jc@linux.com>

    commit 20772c1a6f0e03d4231e2b539863987fa0c94e89 upstream.

    This change resolves a new compile-time warning
    when built as a loadable module:

    WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/tegra-cec/tegra_cec.o
    see include/linux/module.h for more information

    This adds the license as "GPL v2", which matches the header of the file.

    MODULE_DESCRIPTION and MODULE_AUTHOR are also added.

    Signed-off-by: Jesse Chan <jc@linux.com>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/media/platform/tegra-cec/tegra_cec.c | 5 +++++
    1 file changed, 5 insertions(+)

    --- a/drivers/media/platform/tegra-cec/tegra_cec.c
    +++ b/drivers/media/platform/tegra-cec/tegra_cec.c
    @@ -493,3 +493,8 @@ static struct platform_driver tegra_cec_
    };

    module_platform_driver(tegra_cec_driver);
    +
    +MODULE_DESCRIPTION("Tegra HDMI CEC driver");
    +MODULE_AUTHOR("NVIDIA CORPORATION");
    +MODULE_AUTHOR("Cisco Systems, Inc. and/or its affiliates");
    +MODULE_LICENSE("GPL v2");

    \
     
     \ /
      Last update: 2018-02-09 14:50    [W:3.745 / U:0.296 seconds]
    ©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site