From patchwork Fri May 11 07:38:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8528 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 01CB323E9A for ; Fri, 11 May 2012 07:49:28 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id BC6BDA1831E for ; Fri, 11 May 2012 07:49:28 +0000 (UTC) Received: by yenq6 with SMTP id q6so2935345yen.11 for ; Fri, 11 May 2012 00:49:28 -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=NeX1b0m5MMZFFT361ImnovmQr0/eE4B0e79CXXD3IFk=; b=n8GalZCmp66Cso+pInpU/St2T99rAP+HzhapwBA0aRo8TkqoLE8QbUHsJ1wUtPHoQe YHUE2YE2grD213t5RoXkgkcTcJ6vYdklstbzEja+mYRWOLMJaY9geTaekxuFkPe+kQZ9 nLztYa4c5wMDYV2kCUbJAU9o27s5CJ9EvTHhcGyj9PT9xIrNPWk7JguA9+o+CHLTn0+m 3auHIZenliLptWSpZdZRhS8k8aHyR7zBZub/1td7ifir3P6v/T4cE0xMFp7wbkAf3+YG 3a+p5wjEBk8IZyTV2ALncZiAzl+zRxiPqPaSdBZ29mEUhU+RALDP31lhRK1MXV3LDhJg QL8Q== Received: by 10.42.122.76 with SMTP id m12mr1994922icr.38.1336722568163; Fri, 11 May 2012 00:49:28 -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 q19csp156112ibj; Fri, 11 May 2012 00:49:27 -0700 (PDT) Received: by 10.68.192.67 with SMTP id he3mr8014044pbc.114.1336722567011; Fri, 11 May 2012 00:49:27 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id hz7si10253533pbc.126.2012.05.11.00.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 May 2012 00:49:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.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 pbbrr4 with SMTP id rr4so3713669pbb.37 for ; Fri, 11 May 2012 00:49:26 -0700 (PDT) Received: by 10.68.220.67 with SMTP id pu3mr14006777pbc.144.1336722566775; Fri, 11 May 2012 00:49:26 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id nv2sm12067094pbb.6.2012.05.11.00.49.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 May 2012 00:49:26 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, k.debski@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] [media] s5p-mfc: Add missing static storage class in s5p_mfc_enc.c file Date: Fri, 11 May 2012 13:08:14 +0530 Message-Id: <1336721894-32435-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnCtWXVf6xC19vInV56/a4wxmqACeT78f9Ke166mtv6xfw3pZAA6u5jGr7dErsW0qY/a9pR Fixes the following sparse warnings: drivers/media/video/s5p-mfc/s5p_mfc_enc.c:1439:5: warning: symbol 'vidioc_s_parm' was not declared. Should it be static? drivers/media/video/s5p-mfc/s5p_mfc_enc.c:1455:5: warning: symbol 'vidioc_g_parm' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-mfc/s5p_mfc_enc.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_enc.c b/drivers/media/video/s5p-mfc/s5p_mfc_enc.c index dff9dc7..acedb20 100644 --- a/drivers/media/video/s5p-mfc/s5p_mfc_enc.c +++ b/drivers/media/video/s5p-mfc/s5p_mfc_enc.c @@ -1436,7 +1436,8 @@ static const struct v4l2_ctrl_ops s5p_mfc_enc_ctrl_ops = { .s_ctrl = s5p_mfc_enc_s_ctrl, }; -int vidioc_s_parm(struct file *file, void *priv, struct v4l2_streamparm *a) +static int vidioc_s_parm(struct file *file, void *priv, + struct v4l2_streamparm *a) { struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); @@ -1452,7 +1453,8 @@ int vidioc_s_parm(struct file *file, void *priv, struct v4l2_streamparm *a) return 0; } -int vidioc_g_parm(struct file *file, void *priv, struct v4l2_streamparm *a) +static int vidioc_g_parm(struct file *file, void *priv, + struct v4l2_streamparm *a) { struct s5p_mfc_ctx *ctx = fh_to_ctx(priv);