From patchwork Fri May 25 17:38:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 8975 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 E5E8F23F07 for ; Fri, 25 May 2012 17:39:12 +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 ACAE3A188B2 for ; Fri, 25 May 2012 17:39:12 +0000 (UTC) Received: by yenq6 with SMTP id q6so668024yen.11 for ; Fri, 25 May 2012 10:39:12 -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:x-gm-message-state; bh=o6mQQT7QQ8d49eMU9mG1nwD2RDf4QP7aLq0GvMYYiX4=; b=RARW1dzBxYbPen+LMSoIClLrzIl2SjCU28ArX9r2/5t/gHSE1okvHb4obupW0lpotJ aFJyGjuzHoOu8wGDgTZJrhwocNu6EI6+EWayGzDbVoJzlhZ0Cv48myhB9hXDPgC9CcIs foxP4cRcJRmyQR8FV36mB1o41Ajp49T9wMWb1MzpErmlQc7rUuW60xUt4NVyhw36drUG QD1kslXpKfaBu993uq93dAOAhhoJEqvdaCaTGyTfts8ZvMwrjb15ruw6twwt8jnC/oRv dcyz4MJs2Wd5mQ5fbMYaYCdv/dudWZ2vE2lCQ2N0bbJ8wjcA5SZLoHKeMbvToVgIDRZN HjLg== Received: by 10.50.203.39 with SMTP id kn7mr3577248igc.53.1337967550717; Fri, 25 May 2012 10:39:10 -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 v20csp36875ibb; Fri, 25 May 2012 10:39:09 -0700 (PDT) Received: by 10.50.149.134 with SMTP id ua6mr20855142igb.11.1337967549287; Fri, 25 May 2012 10:39:09 -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.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:09 -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 danh15 with SMTP id h15so1792260dan.37 for ; Fri, 25 May 2012 10:39:08 -0700 (PDT) Received: by 10.68.226.228 with SMTP id rv4mr22906569pbc.167.1337967548735; Fri, 25 May 2012 10:39:08 -0700 (PDT) Received: from localhost.localdomain ([122.179.95.72]) by mx.google.com with ESMTPS id ou5sm9679782pbb.54.2012.05.25.10.39.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 May 2012 10:39:07 -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 1/4] [media] s5p-fimc: Add missing static storage class in fimc-lite-reg.c file Date: Fri, 25 May 2012 23:08:50 +0530 Message-Id: <1337967533-22240-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQnWy0ppEvWqczdy2XqTriR2A6K/UuH6JL/CjkFIJ3328oy/0VYuLNReeGc2BBRb8CPiUgZp Fixes the following sparse warning: drivers/media/video/s5p-fimc/fimc-lite-reg.c:218:6: warning: symbol 'flite_hw_set_out_order' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-fimc/fimc-lite-reg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-lite-reg.c b/drivers/media/video/s5p-fimc/fimc-lite-reg.c index 419adfb..f996e94 100644 --- a/drivers/media/video/s5p-fimc/fimc-lite-reg.c +++ b/drivers/media/video/s5p-fimc/fimc-lite-reg.c @@ -215,7 +215,7 @@ void flite_hw_set_camera_bus(struct fimc_lite *dev, flite_hw_set_camera_port(dev, s_info->mux_id); } -void flite_hw_set_out_order(struct fimc_lite *dev, struct flite_frame *f) +static void flite_hw_set_out_order(struct fimc_lite *dev, struct flite_frame *f) { static const u32 pixcode[4][2] = { { V4L2_MBUS_FMT_YUYV8_2X8, FLITE_REG_CIODMAFMT_YCBYCR },