From patchwork Mon Nov 20 20:56:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Chan X-Patchwork-Id: 119307 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4361244qgn; Mon, 20 Nov 2017 12:56:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMYHO7jKA/Z8kVwTzSufq9N2Tt3DZOLxpfBdTBPpX0lfyeygInlxtOZ2fQZM8PBDKBIDZdcp X-Received: by 10.101.72.196 with SMTP id o4mr14572991pgs.147.1511211400410; Mon, 20 Nov 2017 12:56:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511211400; cv=none; d=google.com; s=arc-20160816; b=VBDRU+EW+MpLvP2v9qFtqxjX6uieqC8bXXNLzisQ7/6h7QqSKCcpthZF+m60xNoroV vGJW+CP4/bCbwCIMbQx60waowhxaDo2axzlqyMKCqsSiq4ZE1WkFRWwK+JCnXq+r96ok p1tith/Z5XaPYi/9XWhg3b+ebcFktKn6PVY6DCgVtGsDX29+/v7E0EDL4lyou3gR9GBs z/yFfWEAz8cVVJhUXsn4yoUwZcZtn5AFHyjhuCzp2RaQ33iPUnrhx7KGHVGG3ITPQDNm 9w9Y7/lSgtEj5KYrGar8Vq/djwgF4X9A4bbxmtkEUokZkv5tMf7qz2GeEGKUXvaXmU1C Gbvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :arc-authentication-results; bh=oipwLUdSmm+MnUE4MGYL2I6V3YzdF4P7Kr5h1KDizRo=; b=qlF5FiX55jkKJ6B4ie3Hj90JTqbZMQo3MkGTx1+5oiix3dXCkbZsvsva2Cce+LgAtJ Z0sCcnETnb5nnntiVNFyEC/YR8+8MHRDYg31eIQqH5CbsEfZV/xOQEviMCLbRwSnoAHM R3OWpPa4LfXP98YGGtf27vpZvdhzdkP6MfXN1iBzGaufk/Olvm3xF28avDUpZG6nWH4l RH/5P8m2bj66Q+Tnuqoecrn5y0nz7LvQ+TyEghszPzcBs6+UToGMm8AueySHp8ARZCxx R9O3Me+2edDs8qisGp6qfTQRLeyO1eCSqnOmoA1Q2eQzPjysd7lex8XQdIYD1ckrW7VS kZtQ== 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 d8si8762847pgv.92.2017.11.20.12.56.40; Mon, 20 Nov 2017 12:56:40 -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 S1753024AbdKTU4f (ORCPT + 14 others); Mon, 20 Nov 2017 15:56:35 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:46823 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752720AbdKTU4e (ORCPT ); Mon, 20 Nov 2017 15:56:34 -0500 Received: by mail-pg0-f65.google.com with SMTP id z184so8323016pgd.13; Mon, 20 Nov 2017 12:56:33 -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; bh=oipwLUdSmm+MnUE4MGYL2I6V3YzdF4P7Kr5h1KDizRo=; b=uHpadrhv7G/2S9efXfF1z76MC8WVo+xdAtsl94Fb52JVM5vwT1QT7bV6fi8JbHw/9g jahkSSXC34kv0TeW/chNNmo9MUTUheuecCFWjI2mKQ0jsf+pYL0yVx1I1gI9WudKlLi2 H+B8Db9uzhg1D5Dg9xxX4V7ASHyO5dhD91UN4z2xkHw1NmFnVYmtQ8fWDXMHKcr9pnZt 8OCW5CHUkEqnclfV9aP7efMoB5KuHqH89dYh0cou2AyJ8A48i0MsxDf/kUGgNC9LRyXv noCrobLHM7BqiPpPxmIs78SxK8nWKkSml7VYoP1jz8OXpLZFV1vjjlrad/Ib6ygMLxrz vChg== X-Gm-Message-State: AJaThX47UFjX1JoeNKOGiAKQMLAQC/+CbQKsr8borEIm1k5v3xLpscW4 LusOz8OEP+df21Zn7Bb/nZPGhp+hu+Q= X-Received: by 10.101.67.75 with SMTP id k11mr8402550pgq.20.1511211393472; Mon, 20 Nov 2017 12:56:33 -0800 (PST) Received: from localhost.localdomain (crown-6-217.resnet.ucsc.edu. [169.233.6.217]) by smtp.googlemail.com with ESMTPSA id i8sm17928478pgq.67.2017.11.20.12.56.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 12:56:32 -0800 (PST) From: Jesse Chan Cc: Jesse Chan , Guennadi Liakhovetski , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [media] soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Date: Mon, 20 Nov 2017 12:56:28 -0800 Message-Id: <20171120205628.85855-1-jc@linux.com> X-Mailer: git-send-email 2.14.1 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/soc_camera/soc_scale_crop.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. MODULE_DESCRIPTION and MODULE_AUTHOR are also added. Signed-off-by: Jesse Chan --- drivers/media/platform/soc_camera/soc_scale_crop.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.14.1 diff --git a/drivers/media/platform/soc_camera/soc_scale_crop.c b/drivers/media/platform/soc_camera/soc_scale_crop.c index 0116097c0c0f..092c73f24589 100644 --- a/drivers/media/platform/soc_camera/soc_scale_crop.c +++ b/drivers/media/platform/soc_camera/soc_scale_crop.c @@ -419,3 +419,7 @@ 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_DESCRIPTION("soc-camera scaling-cropping functions"); +MODULE_AUTHOR("Guennadi Liakhovetski "); +MODULE_LICENSE("GPL");