From patchwork Fri May 25 17:38:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8978 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 78AB023F07 for ; Fri, 25 May 2012 17:39:32 +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 393DBA18836 for ; Fri, 25 May 2012 17:39:32 +0000 (UTC) Received: by ggnf1 with SMTP id f1so1281754ggn.11 for ; Fri, 25 May 2012 10:39:31 -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=KzE1ND32GEVdyLfftbxjaoa5n1SdpMc5GZyqk5VzSDY=; b=fDUnj9FoRXtdtgYE1HSoRw0ePfzF9SvLkc9Ft4aMJRNgXUpDBUICIFakqPOQ3lzDU5 djPq4S8xbGiPgVigg9DzKwoe992MomJ0rB5oHBk6lhfSkstLMpEUqU5dGuF4p10CGyrz n0PDUdHFaOji2E/BcIEfH+d918/DKjx+7J1akvrCrBzNzOgt8YC0cNQR7YL1gnYtkE5y bfyDCWtR/emf+oIh80BjHLsgxkPmH1VPyxlwQ70CPOOpb47AG0l2FgHFz4hJ0kFuY0EU chzRa1+JC1fxhAazr/Bip29R5JI6ukSbSw+Bmx6Dy/sP48TcbvuPaPeugPMdIIIZrUtv EzbA== Received: by 10.50.87.227 with SMTP id bb3mr3576299igb.57.1337967568314; Fri, 25 May 2012 10:39: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.24.148 with SMTP id v20csp36891ibb; Fri, 25 May 2012 10:39:23 -0700 (PDT) Received: by 10.50.87.198 with SMTP id ba6mr3659176igb.56.1337967563026; Fri, 25 May 2012 10:39:23 -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.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:23 -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:22 -0700 (PDT) Received: by 10.68.136.69 with SMTP id py5mr34141452pbb.115.1337967562701; Fri, 25 May 2012 10:39:22 -0700 (PDT) Received: from localhost.localdomain ([122.179.95.72]) by mx.google.com with ESMTPS id ou5sm9679782pbb.54.2012.05.25.10.39.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:22 -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 4/4] [media] s5p-fimc: Add missing static storage class in fimc-capture.c file Date: Fri, 25 May 2012 23:08:53 +0530 Message-Id: <1337967533-22240-4-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: ALoCoQnZP/tR0nHSfzz3Xh4PdyoCCY+1nyyq2RO2DWCccCQQRz0e6chuaB0JRH8m+BfATzdU1xD3 Fixes the following sparse warning: drivers/media/video/s5p-fimc/fimc-capture.c:1163:5: warning: symbol 'enclosed_rectangle' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-fimc/fimc-capture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c index 516cd5b..b7caaf5 100644 --- a/drivers/media/video/s5p-fimc/fimc-capture.c +++ b/drivers/media/video/s5p-fimc/fimc-capture.c @@ -1160,7 +1160,7 @@ static int fimc_cap_g_selection(struct file *file, void *fh, } /* Return 1 if rectangle a is enclosed in rectangle b, or 0 otherwise. */ -int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) +static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) { if (a->left < b->left || a->top < b->top) return 0;