From patchwork Thu Jan 10 11:17:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13964 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 864A223FB3 for ; Thu, 10 Jan 2013 11:26:00 +0000 (UTC) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by fiordland.canonical.com (Postfix) with ESMTP id 547CEA197A4 for ; Thu, 10 Jan 2013 11:25:59 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so368730vby.19 for ; Thu, 10 Jan 2013 03:25:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=eGKSwddLFK99/CbE2ER++DT6/OK6n3HwduPedbL6yGc=; b=LbsmEx6MkwP8viRQiXI5wJwDIjw82j0fG1GgDByAj/Hj5fTrpSvza2OJ0DrYpFnc8h dZJnhGge3ldUPJ/QkrGc12vVplHnQF7RIxoDcBA7KoronINPuVq0sWuk/IvJjsBIsHOe N+AgvcjRlcI/EF9i5/pm2LsBV+KiFhrIorT6uZjvCTBQf/x46qdlSPw84+SJBMiqVHvB i8V/An95+HLZJJ43ObyMYJ/oGVpcNLdmEIVWxNdZSJhmbT3QctCNxbnnUsEgVNDx9Kkp XY3LS1t2wV+ZlZoNZpDNbRHqPzNWu/mHtJjFKjvCxI6LE8Y7gSaVvLPmkAIQfPNn4UB4 SLvg== X-Received: by 10.220.8.18 with SMTP id f18mr88479111vcf.14.1357817158751; Thu, 10 Jan 2013 03:25:58 -0800 (PST) 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.58.145.101 with SMTP id st5csp67879veb; Thu, 10 Jan 2013 03:25:58 -0800 (PST) X-Received: by 10.68.225.232 with SMTP id rn8mr217055112pbc.34.1357817157706; Thu, 10 Jan 2013 03:25:57 -0800 (PST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id i7si1556104pay.15.2013.01.10.03.25.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Jan 2013 03:25:57 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.54; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.54 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-pb0-f54.google.com with SMTP id wz12so244506pbc.41 for ; Thu, 10 Jan 2013 03:25:57 -0800 (PST) X-Received: by 10.66.73.105 with SMTP id k9mr197112188pav.37.1357817157212; Thu, 10 Jan 2013 03:25:57 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vo6sm665702pbc.8.2013.01.10.03.25.54 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 10 Jan 2013 03:25:56 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] ARM: S3C24XX: Fix warnings in irq-s3c2416.c Date: Thu, 10 Jan 2013 16:47:40 +0530 Message-Id: <1357816660-18224-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQk8YbUEgg8DmNTfY6oXNCUvQG+CJif6z4KN6I6T7kqSQIddYRvSfS9rnGuiVyhIdLjRduZr Fixes the following warnings: arch/arm/mach-s3c24xx/irq-s3c2416.c:226:17: warning: symbol 's3c2416_irq_second' was not declared. Should it be static? arch/arm/mach-s3c24xx/irq-s3c2416.c:332:5: warning: symbol 's3c2416_irq_suspend' was not declared. Should it be static? arch/arm/mach-s3c24xx/irq-s3c2416.c:339:6: warning: symbol 's3c2416_irq_resume' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- arch/arm/mach-s3c24xx/irq-s3c2416.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c24xx/irq-s3c2416.c b/arch/arm/mach-s3c24xx/irq-s3c2416.c index ff141b0..f282670 100644 --- a/arch/arm/mach-s3c24xx/irq-s3c2416.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2416.c @@ -223,7 +223,7 @@ static void s3c2416_irq_unmask_second(struct irq_data *data) __raw_writel(mask, S3C2416_INTMSK2); } -struct irq_chip s3c2416_irq_second = { +static struct irq_chip s3c2416_irq_second = { .irq_ack = s3c2416_irq_ack_second, .irq_mask = s3c2416_irq_mask_second, .irq_unmask = s3c2416_irq_unmask_second, @@ -329,14 +329,14 @@ static struct sleep_save irq_save[] = { SAVE_ITEM(S3C2416_INTMSK2), }; -int s3c2416_irq_suspend(void) +static int s3c2416_irq_suspend(void) { s3c_pm_do_save(irq_save, ARRAY_SIZE(irq_save)); return 0; } -void s3c2416_irq_resume(void) +static void s3c2416_irq_resume(void) { s3c_pm_do_restore(irq_save, ARRAY_SIZE(irq_save)); }