From patchwork Wed Oct 17 11:11: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: 12302 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 6CBA41D5170 for ; Wed, 17 Oct 2012 11:16:50 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 20839A18243 for ; Wed, 17 Oct 2012 11:16:50 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so11154661iej.11 for ; Wed, 17 Oct 2012 04:16:49 -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=M/nEYa6WkAvJQ/L/9jlClWOKoXiPxlnYAL5goCP4I3o=; b=g2loaHQwWqlcM1mnpjVCPWF44RcsVxX9Soomi7Q3avrWdR2rFJ//73z2IwvMmZmOK+ il20djN82jnx3b5pYhrSvtMHpHFRdQGwoLDtAzLnedwiDv+SGuqkQoSnblBzFj8NZTKx Y1QaXLI22WsimsoNL7V2zaXNiDiMCZQRzYKHSGZ0x1e+fUNaLcbBPB5NDjCvhSp5+sSj DAeHLtpPq0tDGEsXHZ6J7sksIcFFUP6m+DeI6jD8ZQGi9fNpCWzr5XFsqkkhGz/iP+tv u8bijwMRyzabctGDMqz3yEup3cbPDsEeOOpQk26iLKRB2PBggl5yJVAnO7Y1HW9LSMyF 02NQ== Received: by 10.50.152.137 with SMTP id uy9mr1127310igb.62.1350472609896; Wed, 17 Oct 2012 04:16:49 -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.50.67.148 with SMTP id n20csp878465igt; Wed, 17 Oct 2012 04:16:49 -0700 (PDT) Received: by 10.68.138.198 with SMTP id qs6mr55777468pbb.151.1350472609324; Wed, 17 Oct 2012 04:16:49 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id n5si30370894paw.60.2012.10.17.04.16.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 04:16:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.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-pa0-f50.google.com with SMTP id hz11so7789257pad.37 for ; Wed, 17 Oct 2012 04:16:49 -0700 (PDT) Received: by 10.68.200.231 with SMTP id jv7mr55086608pbc.140.1350472609115; Wed, 17 Oct 2012 04:16:49 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vu7sm12365003pbc.9.2012.10.17.04.16.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 04:16:48 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, Kamil Debski Subject: [PATCH 7/8] [media] s5p-mfc: Make 'clk_ref' static in s5p_mfc_pm.c Date: Wed, 17 Oct 2012 16:41:50 +0530 Message-Id: <1350472311-9748-7-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1350472311-9748-1-git-send-email-sachin.kamat@linaro.org> References: <1350472311-9748-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkMCJVwjwOR47j0BiUtwMSA+KuMPWlR41Nqw8FY7q9dkXyymOnV3C3+5OiKSvURMx4kYbSW Fixes the following sparse warning: drivers/media/platform/s5p-mfc/s5p_mfc_pm.c:31:10: warning: symbol 'clk_ref' was not declared. Should it be static? Signed-off-by: Sachin Kamat Cc: Kamil Debski --- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index f7c5c5a..19c46fb 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c @@ -28,7 +28,7 @@ static struct s5p_mfc_pm *pm; static struct s5p_mfc_dev *p_dev; #ifdef CLK_DEBUG -atomic_t clk_ref; +static atomic_t clk_ref; #endif int s5p_mfc_init_pm(struct s5p_mfc_dev *dev)