From patchwork Sat Dec 2 06:29:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 10088547 Return-Path: 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 199C660380 for ; Sat, 2 Dec 2017 06:30:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F38A429BF5 for ; Sat, 2 Dec 2017 06:30:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E865729CCA; Sat, 2 Dec 2017 06:30:02 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79A5B29CC9 for ; Sat, 2 Dec 2017 06:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751611AbdLBGaB (ORCPT ); Sat, 2 Dec 2017 01:30:01 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42725 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbdLBGaA (ORCPT ); Sat, 2 Dec 2017 01:30:00 -0500 Received: by mail-pl0-f68.google.com with SMTP id bd8so7508844plb.9 for ; Fri, 01 Dec 2017 22:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id; bh=jnDbwCaudpvi5Ul/7vOpTfNPKF8DoNYlidKsLCH+V9k=; b=CPtNqauEk+Yj53EL2JZ76DF+WlkEdqIpL73a/6xD7p+XX53CHSmKzCfXYLjZcPUXKX 3+NngwwSLR7CwYpoXCL6r0cFuJ4hLzNCC9XTX5zxIMbjcYCr+2CtIbRTCyQq4KC295P0 NsuzRipldwomAvq13b7nxsH3PbyvNYbzvzDM4= 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; bh=jnDbwCaudpvi5Ul/7vOpTfNPKF8DoNYlidKsLCH+V9k=; b=SXt//Ba3ciG3gRJTt9Dy43XHo1QJzgvc66TS4KwORjAgoA4WxUpvl8IXdRmg/sbdJk kv0KsGP0xbPuJglyYAfnjbYS3GB7xrjL0zq29zHqH0W2/+E8+RrFHpayguo18rGXIJdm mfa8Mm2j5m1W36tHYr5YoFQ0tpzq79MPJBDLF6FpqlLEgXBhi0L2sJ2sUUXXjpTOf0bt 2X2/ZbYAgMfv32bbV8xUuEeR3KGpeIoNKCWhhn9/cYUi9f7kR7tClql3CbpeNsxicqZF HDOrYBELNI2/rCySUxXbgW24+LV4twAw4tPR75ychZiThNCfR/vh7Kz1BXyRkM9cZSAa UX6g== X-Gm-Message-State: AJaThX7hydgwOQI2lRqZbqTEhiuv9D82VtuCHxUDqB+qUqvmyzAShCey ysrjqRfUr/4MmYwbClnH4nTgs8UCAuY= X-Google-Smtp-Source: AGs4zMaMch6Rf1wEldR+gBB/1fmgnCFpZWe/2DSGX1cxwVx+CTVI+piTWBipY+E+wVxt+1HRXia4Jw== X-Received: by 10.159.230.13 with SMTP id u13mr8069930plq.293.1512196200020; Fri, 01 Dec 2017 22:30:00 -0800 (PST) Received: from localhost.localdomain (124-171-106-107.dyn.iinet.net.au. [124.171.106.107]) by smtp.gmail.com with ESMTPSA id g5sm12623279pgq.71.2017.12.01.22.29.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Dec 2017 22:29:59 -0800 (PST) From: Daniel Axtens To: g.liakhovetski@gmx.de, mchehab@kernel.org, linux-media@vger.kernel.org Cc: trivial@kernel.org, Daniel Axtens Subject: [PATCH] [media] soc_camera: add MODULE_LICENSE to soc_scale_crop.c Date: Sat, 2 Dec 2017 17:29:46 +1100 Message-Id: <20171202062946.19527-1-dja@axtens.net> X-Mailer: git-send-email 2.11.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes the following warning on an allmodconfig build: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o Use license "GPL" to match the GPLv2+ license from the header at the top of the file. Signed-off-by: Daniel Axtens --- drivers/media/platform/soc_camera/soc_scale_crop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/soc_camera/soc_scale_crop.c b/drivers/media/platform/soc_camera/soc_scale_crop.c index 270ec613c27c..095753951888 100644 --- a/drivers/media/platform/soc_camera/soc_scale_crop.c +++ b/drivers/media/platform/soc_camera/soc_scale_crop.c @@ -420,3 +420,5 @@ void soc_camera_calc_client_output(struct soc_camera_device *icd, mf->height = soc_camera_shift_scale(rect->height, shift, scale_v); } EXPORT_SYMBOL(soc_camera_calc_client_output); + +MODULE_LICENSE("GPL");