From patchwork Thu May 10 06:38:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8512 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 698BD23ED1 for ; Thu, 10 May 2012 06:48:30 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2AE0FA18546 for ; Thu, 10 May 2012 06:48:30 +0000 (UTC) Received: by ggnf1 with SMTP id f1so295532ggn.11 for ; Wed, 09 May 2012 23:48:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=r7tyrcpnP6CG5gKK14w1xzKeI5Qcwj5jBgAfSwmQv5w=; b=imv9BqihFLm9hW2M45St0RGdFSm5UyCYHuChmnioF3L+bWXtC1njOO3abvs5GS8eyz EVQQe3cUr6fz980m9Eqj0IvHpjjdXMnZk8CUd0InkmknUQNA9xLTUoF6wJggWtoJUHRo lc/eRovkPqLdnxNZtzQaOEC4FqKZaxCBl/7yW/me3JfXmdQTmKLG+JHub8bkw+cmuV6U adyHCdcKW+bjYBb+r65V293Fnm3u4Wu9SfPuCL8kRw8MNhfGld4nyxZ1G8nY08gg2K1L rN4y5fRui9RuP8ip4IaXoIYtlHeKic1Tj3ttOmzLSXMXKdiBUGcJktxReaOfBz3GWKFI d+ow== Received: by 10.50.160.225 with SMTP id xn1mr1633181igb.3.1336632509467; Wed, 09 May 2012 23:48:29 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp71693ibj; Wed, 9 May 2012 23:48:28 -0700 (PDT) Received: by 10.68.229.225 with SMTP id st1mr16605141pbc.73.1336632508675; Wed, 09 May 2012 23:48:28 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id rz2si9280616pbc.68.2012.05.09.23.48.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 23:48:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by danh15 with SMTP id h15so1634139dan.37 for ; Wed, 09 May 2012 23:48:28 -0700 (PDT) Received: by 10.68.191.201 with SMTP id ha9mr5448969pbc.75.1336632508416; Wed, 09 May 2012 23:48:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id po10sm8084776pbb.56.2012.05.09.23.48.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 23:48:27 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, andrzej.p@samsung.com, kyungmin.park@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] [media] s5p-jpeg: Make s5p_jpeg_g_selection function static Date: Thu, 10 May 2012 12:08:40 +0530 Message-Id: <1336631920-3831-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQn8zCNgH2uS0zFwUSCOYaqXCLlIaBKz+5Q9g7RbeJ9EfTlNMJhwWhGO3tNG/a2mWKekokgp Makes the function s5p_jpeg_g_selection static (detected by sparse). Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-jpeg/jpeg-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-jpeg/jpeg-core.c b/drivers/media/video/s5p-jpeg/jpeg-core.c index 5a49c30..f147cbb 100644 --- a/drivers/media/video/s5p-jpeg/jpeg-core.c +++ b/drivers/media/video/s5p-jpeg/jpeg-core.c @@ -813,7 +813,7 @@ static int s5p_jpeg_streamoff(struct file *file, void *priv, return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type); } -int s5p_jpeg_g_selection(struct file *file, void *priv, +static int s5p_jpeg_g_selection(struct file *file, void *priv, struct v4l2_selection *s) { struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv);