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: 1240411 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3510D3FC5A for ; Thu, 26 Jul 2012 06:24:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630Ab2GZGYb (ORCPT ); Thu, 26 Jul 2012 02:24:31 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:62579 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562Ab2GZGYa (ORCPT ); Thu, 26 Jul 2012 02:24:30 -0400 Received: by yenl2 with SMTP id l2so1589868yen.19 for ; Wed, 25 Jul 2012 23:24:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=CyazawMIcu/LcQc/CzAIX1+dEAxzOvdnwpL+EQ9xGN4=; b=F9z5Gi3xZZPIamRBcMNLTOsLMab5zSKDViroTKzT8fhf28UnqH+imMqaFf0wVUBmEn xtkhICNUDyJTzfmUN+J2Nn7wgcmQPxGjuRi6M+dxeFVxLpgP+oGDTNhMrSA8EQYCZarI OxT7v4r6QNZwrXZYJpziye36FcD2MQbeINJixy09B20C5RQPYHk5SdggxcQ6f88KyW4u /nvDVrrT7aYiNs/A2YUX5UBZZdNnQd53Q9+b8REgCrV+D2eRrPjkqHKMIIm8v8maMABb 9jUr4Cg5T/s5kka1l+9zbQ2OcYLJRap2WoPxV1o69vp+xaUywyZ3YU+B7IGdT95+BWBN 4qjA== 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: ALoCoQlW3QeM3MqMDwHRkDZ+lF/PKhfvZRoxefTddVXYiqvZAuSp+sdLQuDRtiU6A4RSsLgC9QV3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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;