From patchwork Thu Aug 2 06:40:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10452 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 4BC3C23F61 for ; Thu, 2 Aug 2012 06:42:01 +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 1C2B9A1911A for ; Thu, 2 Aug 2012 06:42:01 +0000 (UTC) Received: by yenq6 with SMTP id q6so8212359yen.11 for ; Wed, 01 Aug 2012 23:42:00 -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=OhHu0wa0I0GQCTODCteSD/E6lMbiMzaUCH5CIBkAKHo=; b=OCjmT01suFV7Nj9Z3boNW57Nq87Sp1tnDx58r51wJkpoCIfo+aLUnReYNbQsDA+aDY mGR4pxG/zI4tkgDp9z7AsXuLwWjyO+gmH+kQFXVul/SuJipIg9SZhiaTME5ibEW7UJ3Q Tvw1Yl3x2gwjKFZTfLDPi6H7d8KdY78UPKWSfEWoaILZFq4WFYuCMaQC0mXSReafaxEc 6SXTnNYUnR2scYPDpINEJ8egS8IAHEQGNrhsWoyRQJV5fGLe5WHFEdTjjGxgdoNVFZFF wadVQGfJtW3mNTzaij2/v5/icrSxtWCCFlTyH/+NGlpGiKXwx+rmrkCC0hdWH15QS2FY rpbg== Received: by 10.42.54.133 with SMTP id r5mr2360754icg.9.1343889720456; Wed, 01 Aug 2012 23:42:00 -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.87.40 with SMTP id u8csp238224igz; Wed, 1 Aug 2012 23:42:00 -0700 (PDT) Received: by 10.236.108.234 with SMTP id q70mr19937909yhg.4.1343889719851; Wed, 01 Aug 2012 23:41:59 -0700 (PDT) Received: from mail-gh0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by mx.google.com with ESMTPS id n64si5209863yhk.137.2012.08.01.23.41.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 23:41:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by ghbf1 with SMTP id f1so9468080ghb.37 for ; Wed, 01 Aug 2012 23:41:59 -0700 (PDT) Received: by 10.50.163.3 with SMTP id ye3mr1670170igb.24.1343889719149; Wed, 01 Aug 2012 23:41:59 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id nh8sm18257625igc.1.2012.08.01.23.41.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 23:41:58 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ARM: Samsung: Make uart_save static in pm.c file Date: Thu, 2 Aug 2012 12:10:44 +0530 Message-Id: <1343889644-27266-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQmDGdrf2CdqmbMnkWUpi3OjVGw0cmYeSZv1kanKjIOz4MUTcAPc0DZ1AkeUkC1Gb6AwoQZJ Fixes the following sparse warning: arch/arm/plat-samsung/pm.c:77:21: warning: symbol 'uart_save' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- arch/arm/plat-samsung/pm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 64ab65f..1507028 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -74,7 +74,7 @@ unsigned char pm_uart_udivslot; #ifdef CONFIG_SAMSUNG_PM_DEBUG -struct pm_uart_save uart_save[CONFIG_SERIAL_SAMSUNG_UARTS]; +static struct pm_uart_save uart_save[CONFIG_SERIAL_SAMSUNG_UARTS]; static void s3c_pm_save_uart(unsigned int uart, struct pm_uart_save *save) {