From patchwork Sat Oct 5 01:59:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2990611 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2BAF0BF924 for ; Sat, 5 Oct 2013 01:59:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B61A202C7 for ; Sat, 5 Oct 2013 01:59:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DCC620295 for ; Sat, 5 Oct 2013 01:59:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751962Ab3JEB7l (ORCPT ); Fri, 4 Oct 2013 21:59:41 -0400 Received: from mail-yh0-f41.google.com ([209.85.213.41]:37078 "EHLO mail-yh0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885Ab3JEB7l (ORCPT ); Fri, 4 Oct 2013 21:59:41 -0400 Received: by mail-yh0-f41.google.com with SMTP id f73so1182451yha.14 for ; Fri, 04 Oct 2013 18:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xx4KAx16greLqkFaNLbFVo2LbQZwPth3YVdHBDER46A=; b=pu8NrIMdIt33POfTWQZxukRaCDQHczHsqs95O9giW8LTTN020YUshbk4uYSEDkhe7w TJsZAo6XaQN/gjdJsTUQx9/VPs6Rv7YYvAaXbD+26YIoI634EUTmUtSwHRqHcRuea6DP 47OhiCn18le5WsMoXoZ0OSYVrMy1t304dEm9GBMFccfabNbCj4t1GCkKUmP6/8N1Nck5 UyLF8lj031SVa4hfEmGqtFnxvVXqaHlEB+6F7z2gjMM2M63/WGpOuF+iisfYHiiEh78h F+OiLJeemZ7eKyvTADQRwUJMLFoxUu+cs2hNNdMS1aEcfF8ulDHrZu7Zk5Yda93TmkNA fwBQ== X-Received: by 10.236.85.97 with SMTP id t61mr12468508yhe.11.1380938380789; Fri, 04 Oct 2013 18:59:40 -0700 (PDT) Received: from localhost.localdomain ([186.207.70.19]) by mx.google.com with ESMTPSA id s4sm23988666yhs.14.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 18:59:40 -0700 (PDT) From: Fabio Estevam To: cjb@laptop.org Cc: linux-mmc@vger.kernel.org, Fabio Estevam Subject: [PATCH 2/3] mmc: host: sdhci: Make sdhci_disable_irq_wakeups static Date: Fri, 4 Oct 2013 22:59:24 -0300 Message-Id: <1380938365-7769-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1380938365-7769-1-git-send-email-festevam@gmail.com> References: <1380938365-7769-1-git-send-email-festevam@gmail.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam sdhci_disable_irq_wakeups() is not used anywhere else, so make it static. Fix the following sparse warning: drivers/mmc/host/sdhci.c:2543:6: warning: symbol 'sdhci_disable_irq_wakeups' was not declared. Should it be static? Signed-off-by: Fabio Estevam --- drivers/mmc/host/sdhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 66bce7a..35e251c 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2540,7 +2540,7 @@ void sdhci_enable_irq_wakeups(struct sdhci_host *host) } EXPORT_SYMBOL_GPL(sdhci_enable_irq_wakeups); -void sdhci_disable_irq_wakeups(struct sdhci_host *host) +static void sdhci_disable_irq_wakeups(struct sdhci_host *host) { u8 val; u8 mask = SDHCI_WAKE_ON_INSERT | SDHCI_WAKE_ON_REMOVE @@ -2550,7 +2550,6 @@ void sdhci_disable_irq_wakeups(struct sdhci_host *host) val &= ~mask; sdhci_writeb(host, val, SDHCI_WAKE_UP_CONTROL); } -EXPORT_SYMBOL_GPL(sdhci_disable_irq_wakeups); int sdhci_suspend_host(struct sdhci_host *host) {