From patchwork Wed Oct 17 11:11:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 12303 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 403811D5170 for ; Wed, 17 Oct 2012 11:16:53 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id DCDD8A1822A for ; Wed, 17 Oct 2012 11:16:52 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so5203519iag.11 for ; Wed, 17 Oct 2012 04:16:52 -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=z1Q6SXqp2RwUY4r88rf8OUCuPrj4V5YXrRW0Pl0QZdo=; b=bp4TCSI20/Ws/nYydTHRkX1GmmMKxfw/bS3IkZjQ8qoBGMMMlFn13bHcKTzzzsgwAP M53F3Uc8Vf00akU9z+JB8lPK7hEvKB6SPUjEtSjhNlOdGbLCoHn3UdTK42XFRLc/UTi6 OklWyaJY6YOXJP4nF791xi+yrBElQmi+bX6DJBDUChEHykF8GXrvA47jwIsT0Lg/Xt4X fPh2QNa81FlRuG/NyDFHIF9afQ2/gq0h8p6ja3b7waXtZE2R/ilfQmLK7uOTuq5iAN06 LzKKjAy0X72yYcTIHTfc44ufuZ0CVD1jbpIi3txwO4MnGkSlK1lBempc2rpebude1mMc aTwg== Received: by 10.50.194.169 with SMTP id hx9mr1127881igc.70.1350472612662; Wed, 17 Oct 2012 04:16:52 -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.50.67.148 with SMTP id n20csp878471igt; Wed, 17 Oct 2012 04:16:52 -0700 (PDT) Received: by 10.68.230.232 with SMTP id tb8mr55624948pbc.19.1350472612089; Wed, 17 Oct 2012 04:16:52 -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 vz2si30778301pbc.33.2012.10.17.04.16.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 04:16:52 -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 md4so7863362pbc.37 for ; Wed, 17 Oct 2012 04:16:51 -0700 (PDT) Received: by 10.68.235.71 with SMTP id uk7mr55824717pbc.10.1350472611825; Wed, 17 Oct 2012 04:16:51 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vu7sm12365003pbc.9.2012.10.17.04.16.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 04:16:51 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 8/8] [media] s5p-fimc: Make 'fimc_pipeline_s_stream' function static Date: Wed, 17 Oct 2012 16:41:51 +0530 Message-Id: <1350472311-9748-8-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1350472311-9748-1-git-send-email-sachin.kamat@linaro.org> References: <1350472311-9748-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkbLrq/iPo9bGnCEKPd2ErlGXaWeh3TEOuchwRLNyPUr0Ax3E/ky20ax74X5Y2XU4Q5UsyL Fixes the following sparse warning: drivers/media/platform/s5p-fimc/fimc-mdevice.c:216:5: warning: symbol 'fimc_pipeline_s_stream' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-fimc/fimc-mdevice.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/fimc-mdevice.c b/drivers/media/platform/s5p-fimc/fimc-mdevice.c index e1f7cbe..0cd05b2 100644 --- a/drivers/media/platform/s5p-fimc/fimc-mdevice.c +++ b/drivers/media/platform/s5p-fimc/fimc-mdevice.c @@ -213,7 +213,7 @@ static int fimc_pipeline_close(struct fimc_pipeline *p) * @pipeline: video pipeline structure * @on: passed as the s_stream call argument */ -int fimc_pipeline_s_stream(struct fimc_pipeline *p, bool on) +static int fimc_pipeline_s_stream(struct fimc_pipeline *p, bool on) { int i, ret;