From patchwork Fri May 25 17:38: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: 8977 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 765E523F07 for ; Fri, 25 May 2012 17:39:27 +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 468D7A18836 for ; Fri, 25 May 2012 17:39:27 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so668024yen.11 for ; Fri, 25 May 2012 10:39:27 -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=C1J95buPXhGJV8j1zbSh5toRUlVhF790HLvM4Xtr9CI=; b=eMTJLHpwlbJG3PEFMiHyWvJoKosLVrxY+pCc0tfZMFPb1o5RWndk3kZrRsN0Xb35ri VaYD6uLUsIgdhDM9Acajagz2ASKDWxI4/8CxrHYbV4ZGFRUlkbpVjHeH0n29dllT1mG3 MH3URkuYd+j7HesRL5xcKR81H6lP0rUnBd4nilx4ZsuPlYqjjOnWSBumH0wFcVOgrt7x y4HBjNMbw2CpljV9w+VSZuCXfNqZxwgiegLpCbleQa5eztS4uZ61VAiruKCbAGxU9XEt waQF1vJvkgS8CHwnM4/fxAANo9cRELU2F8qOm3ErlDV1nwSY6/INTPg4eEEYvK2llNmS xlEg== Received: by 10.50.193.196 with SMTP id hq4mr1369121igc.57.1337967561206; 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 v20csp36880ibb; Fri, 25 May 2012 10:39:16 -0700 (PDT) Received: by 10.50.184.198 with SMTP id ew6mr3776753igc.27.1337967555934; Fri, 25 May 2012 10:39:15 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id sl1si9067035pbc.174.2012.05.25.10.39.15 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.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-pz0-f50.google.com with SMTP id h15so1792260dan.37 for ; Fri, 25 May 2012 10:39:15 -0700 (PDT) Received: by 10.68.227.69 with SMTP id ry5mr13812780pbc.16.1337967553330; Fri, 25 May 2012 10:39:13 -0700 (PDT) Received: from localhost.localdomain ([122.179.95.72]) by mx.google.com with ESMTPS id ou5sm9679782pbb.54.2012.05.25.10.39.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:12 -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 2/4] [media] s5p-fimc: Add missing static storage class in fimc-mdevice.c file Date: Fri, 25 May 2012 23:08:51 +0530 Message-Id: <1337967533-22240-2-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: ALoCoQm8DMOSs7dnEO5TBtBX9M90yAd6pNcxUr3UFYzh4+RD6qDk3Ok2j/fJVOSIBVKyWdknEiRS Fixes the following sparse warnings: drivers/media/video/s5p-fimc/fimc-mdevice.c:183:5: warning: symbol '__fimc_pipeline_shutdown' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-mdevice.c:1013:12: warning: symbol 'fimc_md_init' was not declared. Should it be static? drivers/media/video/s5p-fimc/fimc-mdevice.c:1024:13: warning: symbol 'fimc_md_exit' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-fimc/fimc-mdevice.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-mdevice.c b/drivers/media/video/s5p-fimc/fimc-mdevice.c index 52cef48..e65bb28 100644 --- a/drivers/media/video/s5p-fimc/fimc-mdevice.c +++ b/drivers/media/video/s5p-fimc/fimc-mdevice.c @@ -180,7 +180,7 @@ EXPORT_SYMBOL_GPL(fimc_pipeline_initialize); * sensor clock. * Called with the graph mutex held. */ -int __fimc_pipeline_shutdown(struct fimc_pipeline *p) +static int __fimc_pipeline_shutdown(struct fimc_pipeline *p) { int ret = 0; @@ -1010,7 +1010,7 @@ static struct platform_driver fimc_md_driver = { } }; -int __init fimc_md_init(void) +static int __init fimc_md_init(void) { int ret; @@ -1021,7 +1021,8 @@ int __init fimc_md_init(void) return platform_driver_register(&fimc_md_driver); } -void __exit fimc_md_exit(void) + +static void __exit fimc_md_exit(void) { platform_driver_unregister(&fimc_md_driver); fimc_unregister_driver();