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: 1605051 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 27E073FE36 for ; Wed, 17 Oct 2012 11:16:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756629Ab2JQLQu (ORCPT ); Wed, 17 Oct 2012 07:16:50 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:45779 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756539Ab2JQLQt (ORCPT ); Wed, 17 Oct 2012 07:16:49 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr4so7059174pbb.19 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=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=M/nEYa6WkAvJQ/L/9jlClWOKoXiPxlnYAL5goCP4I3o=; b=pTRCPpEQuLwnNkTy5uzeY/g+8SNRVzdIcNzzGeunSOasd+FtVbKSFx6jZ9cX3vqfqc QyJq89PdyQB1xi6+YsWwhVqPNSQLmNZO6zHmwp0lkQqyFh0F1SXhbr3wz9MnjaecyHGO Vl2zGcObJPSVHMQb2+9UHEgNO2b9+tiJ5HwZ+QHILhSM3gfs6I/MHL6eqIM+jx1s2x6L 7734JHM3YSni14D9ASJMDegdEEpVdSjlzptq+2meJQAjQHzJ7vsHoPWBvm2pVKpnuhP0 rtp7VKEFOwjIFjmkidoaZw0BidOE/7clYd1q/ecLbrDR2k4H9JCAubp+C/Nj3x4VQjbu Lnug== 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: ALoCoQnvvGuST5EROavXyz7D8SRB4uEVtTTOAJZCnF0blcVY7yDc3jhgOfeAaKJq2/3JLbr/C8LW 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/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)