From patchwork Fri May 25 17:38:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8976 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 E851B23F07 for ; Fri, 25 May 2012 17:39:24 +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 B7C3FA18836 for ; Fri, 25 May 2012 17:39:24 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so668024yen.11 for ; Fri, 25 May 2012 10:39:24 -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:in-reply-to:references :x-gm-message-state; bh=vLA+SFzYoa4jSdYU2pw8JM+wuH7F6QlxLGXHkfnbt4o=; b=iuzcVhlHL2BOa/UUDX9vTAdq7OdPUqVMClSywryshPCuLfJfDFzQ4rKz1g4kIwJ0a2 AxwVfLlMb/rvrrqg4qXPLnsdlEVrXzjixEl4bTeT/SCIxnyOoSWswlnjDk+BZ+33wZJg QXY89h4zm0R9kjxiEL16sUMoQS+V+eSdRQICE/PckEOU7aA4qIZ07s80dlSa1ii9Lofl FAiUW7M1Ccp03Ep7yVelvTl8ovzYaLNU3u3xpV95BBhG3zqQlZM+jZTBZ9GvS4qbrP84 e4PzQbQaRNc2asGkG9qto4REA3Thh36sUStXDRPKrdIxDY3INBXeai6xyn3kCjrpNZCW q9Eg== Received: by 10.50.95.135 with SMTP id dk7mr1895500igb.53.1337967561793; Fri, 25 May 2012 10:39:21 -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.24.148 with SMTP id v20csp36883ibb; Fri, 25 May 2012 10:39:18 -0700 (PDT) Received: by 10.42.157.200 with SMTP id e8mr2523924icx.46.1337967558518; Fri, 25 May 2012 10:39:18 -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 la2si6422125pbc.218.2012.05.25.10.39.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:18 -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 mail-pb0-f50.google.com with SMTP id rr4so2369482pbb.37 for ; Fri, 25 May 2012 10:39:18 -0700 (PDT) Received: by 10.68.191.231 with SMTP id hb7mr23416807pbc.146.1337967558221; Fri, 25 May 2012 10:39:18 -0700 (PDT) Received: from localhost.localdomain ([122.179.95.72]) by mx.google.com with ESMTPS id ou5sm9679782pbb.54.2012.05.25.10.39.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:17 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, mchehab@infradead.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 3/4] [media] s5p-fimc: Add missing static storage class in fimc-core.c file Date: Fri, 25 May 2012 23:08:52 +0530 Message-Id: <1337967533-22240-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1337967533-22240-1-git-send-email-sachin.kamat@linaro.org> References: <1337967533-22240-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQn+LpvgOPKbh41qDCMPAKlez5BlP2QVZ2Mz/NvWifgvA+mggqNV8RM4C0tjw/jBGwr1J91I Fixes the following sparse warning: drivers/media/video/s5p-fimc/fimc-core.c:466:5: warning: symbol 'fimc_set_color_effect' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-fimc/fimc-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c index c2d621c..02c82c7 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.c +++ b/drivers/media/video/s5p-fimc/fimc-core.c @@ -463,7 +463,7 @@ void fimc_prepare_dma_offset(struct fimc_ctx *ctx, struct fimc_frame *f) f->fmt->color, f->dma_offset.y_h, f->dma_offset.y_v); } -int fimc_set_color_effect(struct fimc_ctx *ctx, enum v4l2_colorfx colorfx) +static int fimc_set_color_effect(struct fimc_ctx *ctx, enum v4l2_colorfx colorfx) { struct fimc_effect *effect = &ctx->effect;