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: 11487 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1SXyUm-0001Jw-WF for patchwork@linuxtv.org; Fri, 25 May 2012 19:40:13 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-3) with esmtp for id 1SXyUm-0001pO-ER; Fri, 25 May 2012 19:40:12 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755892Ab2EYRju (ORCPT ); Fri, 25 May 2012 13:39:50 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:48997 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757302Ab2EYRjS (ORCPT ); Fri, 25 May 2012 13:39:18 -0400 Received: by mail-pz0-f46.google.com with SMTP id y13so1530415dad.19 for ; Fri, 25 May 2012 10:39:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=vLA+SFzYoa4jSdYU2pw8JM+wuH7F6QlxLGXHkfnbt4o=; b=ZkAj9aiM6CGdDxKo+JFwgrZE3LkOZ4mtd3LaRVG5kRlmwHcheERyjnUgPblf6PKICz JMtt8rgYr1pvMKQJgaF1IMSweBSo1sLNqFSMYyLsSmRCH3Kj22F/oAaxiC3WOBlybg79 O862lGfv/Pvb2yfC/HHD5L557Sm6ekfC3mj6mfqTcWpS72J7l2m/fufSL5U6pXMhNtj5 JbG8PVVqw0HWmIpP7zTP/Sv+keDxdgFs+mPdlBr8+odZwJGYHORJ3b7eHlMC3/c6gtB2 5firvdaierjMPOSyCbZb4y+W6G3VuV81wMc+mZ5GLFLBjddy7GSOx9OcjFtYeNal5LDD qHWg== 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: ALoCoQnw3gtowZEicC60EtCUSMGPEX9iFLgqjy0y5FZNcjUZBD+4CSiYXap5XktDUoQ5M2J1PWR5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.25.173315 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1100_1199 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' 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;