From patchwork Thu Jul 26 06:23:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10243 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 3E98A2402A for ; Thu, 26 Jul 2012 06:24:32 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0EFF4A1882F for ; Thu, 26 Jul 2012 06:24:31 +0000 (UTC) Received: by mail-gh0-f180.google.com with SMTP id z12so1605618ghb.11 for ; Wed, 25 Jul 2012 23:24: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=CyazawMIcu/LcQc/CzAIX1+dEAxzOvdnwpL+EQ9xGN4=; b=VFWdItXx87xn+XQBy2ZUhQIGMR349I62nyyFY+GKdT7G4lITh3baWpz4DlQjdBxfWb sD/Zd4NTPkik01NlmVrjtMkLQbEl+heJoikrsKirTSVe7/dAgHvX7eKDTCUitPUphUuh xubEFLomD13xtDN5cRosckhflnudocFlpYxkLe+DYw0lsC67AJvqfkHkpbZ5G7S/YRMV ev7JUKsGug6RHePjKDSyZIDeXaDynnyc9xxjEYgNENlUCYosT1kvZgRXojtpKW9hhMnB sJRlddQkrkdO/6G8Y7ydho8K6p3t8A0eInhbp8FQwRQd3kKuIrIcpNahmLBzj1emM/Dd eaLw== Received: by 10.50.242.73 with SMTP id wo9mr764308igc.1.1343283871320; Wed, 25 Jul 2012 23:24:31 -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.43.93.3 with SMTP id bs3csp125670icc; Wed, 25 Jul 2012 23:24:30 -0700 (PDT) Received: by 10.236.182.228 with SMTP id o64mr26206216yhm.85.1343283870745; Wed, 25 Jul 2012 23:24:30 -0700 (PDT) Received: from mail-yw0-f50.google.com (mail-yw0-f50.google.com [209.85.213.50]) by mx.google.com with ESMTPS id r47si20439240yhm.130.2012.07.25.23.24.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 23:24:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.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 yhjj63 with SMTP id j63so1863046yhj.37 for ; Wed, 25 Jul 2012 23:24:30 -0700 (PDT) Received: by 10.66.84.137 with SMTP id z9mr8133550pay.18.1343283870158; Wed, 25 Jul 2012 23:24:30 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pq5sm15903760pbb.30.2012.07.25.23.24.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 23:24:29 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/2] [media] s5k6aa: Add missing static storage class specifier Date: Thu, 26 Jul 2012 11:53:33 +0530 Message-Id: <1343283813-24326-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1343283813-24326-1-git-send-email-sachin.kamat@linaro.org> References: <1343283813-24326-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmmNuu/RdLTwvZ3g+7sRC4qZid1nMC5ALOVBwQWXyigN/ykOgV3nKgUgJYrnoYb9x1VDWCd Fixes the following sparse warning: drivers/media/video/s5k6aa.c:1439:5: warning: symbol 's5k6aa_check_fw_revision' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/media/video/s5k6aa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5k6aa.c b/drivers/media/video/s5k6aa.c index 0c3bc58..045ca7f 100644 --- a/drivers/media/video/s5k6aa.c +++ b/drivers/media/video/s5k6aa.c @@ -1436,7 +1436,7 @@ static int s5k6aa_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) return 0; } -int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa) +static int s5k6aa_check_fw_revision(struct s5k6aa *s5k6aa) { struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd); u16 api_ver = 0, fw_rev = 0;