Message ID | 20171120074754.67708-1-jc@linux.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 405C360375 for <patchwork-linux-mediatek@patchwork.kernel.org>; Mon, 20 Nov 2017 07:48:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 307F9290F5 for <patchwork-linux-mediatek@patchwork.kernel.org>; Mon, 20 Nov 2017 07:48:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 253E6290FC; Mon, 20 Nov 2017 07:48:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DF93D290F5 for <patchwork-linux-mediatek@patchwork.kernel.org>; Mon, 20 Nov 2017 07:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KWzz9jMrAefTR1qg6HT4isITJhvcbXjCaXhGwByrqyU=; b=fIOwZJY5o28W2rqq5LjkdCkDE+ CcEn676FyaXMD8Xrfed5pzUs/yqtKqHzwua4TjXCJPjIbWw999I5okBYHtWCXqdmvcsNx8Igd1YJ4 JCTkzoNfAayBMoAMIHxQRGqOgFFZUjzx8zERjaL9MrH9tVf6x5gUpQ1EOp3x5g88Opw3zZ9EmgQ14 m1uMPmqQeBqVcBspRTAKSuLcvf3YUUa6DrlKsPWp/mTGIpjQgRzdoZ3H4rECnoxQprHHZo6mh1z0l P3TtdVwhlfLLWZubrZJThwIQgZt6XGC0kd79mvXyfIl+NCSqYXAmAAZgr15fM6SxcVY19NyEnpFnM Xuyx/ITQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eGgoz-0005xs-VB; Mon, 20 Nov 2017 07:48:49 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eGgog-0005cl-Nq; Mon, 20 Nov 2017 07:48:32 +0000 Received: by mail-pg0-f68.google.com with SMTP id 70so6715667pgf.6; Sun, 19 Nov 2017 23:48:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cRqcbJ99dLTWBLb2GlZQmARewHvAMYlY8ZRMHSZb238=; b=QijaNbq3AaqhxP83pDDpancqF0c9jb7XR1BIhKrubzMJJewP1ne5FRpUPk449k+twd eUQ2Tg7X+juddZebNLDdWyXVWQqhT4KWu0ZRkyypyPMfRO7orgtywYQDDLw1LhwrtyN3 Ge5zElVtJUOt5lBnVc7ZHTJnb+l7JmUfsBf0YtN329GxSqFSVW1oisZoOdklT/ejvPNG 0815Nx3Q+3O80jallovVWPptPBJnJZW+PxQR/SoX6b6r4Bd93FtaukVCk9X9+lYftgZc Rxe6rAErLt4SBamDRMGwQMcGEGh0/9cTgtG4W5ZrkFbBeSnmu1MGlbmkOyFhs0KcNlaD lVXg== X-Gm-Message-State: AJaThX7yvQSlm73nYGLeistbcSoBe+f2OE8So3TQZYC6CRjm1sNORo59 WMyxh0mf9Lho8z5QaWsuGps= X-Google-Smtp-Source: AGs4zMaWd1wBTITQvIE+WFCwyS8IvwZbkn9ieX8pt1eMV88zIq6Q7MJqlVDt+ImrYGTm7eUMQ+MA7A== X-Received: by 10.84.168.129 with SMTP id f1mr12966769plb.71.1511164087244; Sun, 19 Nov 2017 23:48:07 -0800 (PST) Received: from localhost.localdomain (crown-6-107.resnet.ucsc.edu. [169.233.6.107]) by smtp.googlemail.com with ESMTPSA id j6sm18489464pfk.152.2017.11.19.23.48.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Nov 2017 23:48:06 -0800 (PST) From: Jesse Chan <jc@linux.com> To: Subject: [PATCH v3] media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION Date: Sun, 19 Nov 2017 23:47:54 -0800 Message-Id: <20171120074754.67708-1-jc@linux.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171120063930.82066-1-jc@linux.com> References: <20171120063930.82066-1-jc@linux.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171119_234830_808270_09679F97 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: Andrew-CT Chen <andrew-ct.chen@mediatek.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, linux-kernel@vger.kernel.org, Jesse Chan <jc@linux.com>, linux-mediatek@lists.infradead.org, Matthias Brugger <matthias.bgg@gmail.com>, Tiffany Lin <tiffany.lin@mediatek.com>, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c index 46768c056193..0c28d0b995cc 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c @@ -115,3 +115,6 @@ struct mtk_vcodec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dev *dev) return ctx; } EXPORT_SYMBOL(mtk_vcodec_get_curr_ctx); + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("Mediatek video codec driver");
This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.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 is also added. Signed-off-by: Jesse Chan <jc@linux.com> --- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c | 3 +++ 1 file changed, 3 insertions(+)