From patchwork Mon Nov 20 07:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Chan X-Patchwork-Id: 119260 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3522942qgn; Sun, 19 Nov 2017 23:48:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMaxpD375JD/66BEFRwH3Tdd5VpzD2wE9QKyipHRlrnD567UZp0ZqbfofWObPMuj1Rv1gSHr X-Received: by 10.99.43.71 with SMTP id r68mr12911030pgr.348.1511164092835; Sun, 19 Nov 2017 23:48:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511164092; cv=none; d=google.com; s=arc-20160816; b=V7LW54zzFlMkNzQNTea0RwSY75i+P3CXSNcu8nfXYewg2YFtxNHuFsvE3LcueTqLeZ 8zwNxY2Z3GZyX3Nbb8dc8bCLxDr++NgrllOWvVtiN6q/B2sS5EyHzy30rAhvzo+0BtXV 1q2zTVJwys3UUGA6YiTX1UYaJNhcmg3e3LZTFgGSrl3R/j72aoQY50v+eqmnyoptezKA d4+zCxjunvZ3KNJ2FZU3D0eaH2UbKf3E9j1sj5oqE+1JJAZtqkf3W9rpZXTYmc4kuf34 p/9WWrFcQZ7s7n5mVi5IdPRtroJOJjI3qEjUtYvcu11MZWdPQJFAdB7zw+hatQH134Ay zjJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:in-reply-to:message-id:date :subject:cc:from:arc-authentication-results; bh=cRqcbJ99dLTWBLb2GlZQmARewHvAMYlY8ZRMHSZb238=; b=uP4Hy9yK1mm+e6j7TO3yhZQ7Kpph/dVr/GHkqmC/IAmAqBhN6p9E/c3DyTr8o9YICf 7gdAsNrQpx6WZ6Y3Fl4NRzfSrj/rKKl8YXJ8QUlDPzDOAzIqYQ712HdQFx6pe5zVlzcd jDFKQYK5IIoyBafP9xNu/cAC/zFNusUPvhYQ+W4UW/uJJMx1+mV2euoXHP1r1mNAKLA4 Iy6P2wm5AHvIndBYa8bC2zl8kxzQz1Vm5V8vJeKPBgaGYeAbbYTFOJYuXmm3vN6YA/tk Q4bBbu4AG84XUi2T+xLdf5nYDKsoYHTILcdHQ55Rvw/EEkNrFZkOFmAiDudb35if8nZI 0hyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si6550959plp.333.2017.11.19.23.48.12; Sun, 19 Nov 2017 23:48:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751087AbdKTHsJ (ORCPT + 11 others); Mon, 20 Nov 2017 02:48:09 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:37866 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbdKTHsI (ORCPT ); Mon, 20 Nov 2017 02:48:08 -0500 Received: by mail-pg0-f68.google.com with SMTP id o7so6713545pgc.4; 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=G9t/c7oKFewgTJNoKMOxg3Vrclrls/88lnFi3CeX4LIdw2O+oBD1br3MN9lB9pwaSh UPfoXYfEJjoZvo7m99tsvqx96/XTx0uwwHEJUQIOvhfYxSJAMYV7+jnt8isymZBs0/ig 7xGqAS4BODeADqSKD2Hgxs+xv38v9tWnISnrbEk3nWuOA1ECXQB/UcbH7AppqhTw1f/T 0Gkkv/jNkC3gjtj9AMxsqMkzjrQWTklzURb0q06815SeaAwXEHA+BPa43LE8SsyG/hyW X/pjYR399xWjTw1ECdTZ4mZ7fl95RBJCS7kPF0AMNKzjp/yAlDYqlSt0YXqep1KWKz1Y WARw== X-Gm-Message-State: AJaThX59Z0QaknKNnckPKAxyJW6z/xohXgsa6sM9MTvIxkwRrYEY+ybQ ozqXHgSADdy4lD3Hd5cjxZE= 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 Cc: Jesse Chan , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Matthias Brugger , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org 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> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.14.1 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");