From patchwork Wed Jun 26 06:32:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2782971 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 55B0AC0AB1 for ; Wed, 26 Jun 2013 06:47:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4E1A320135 for ; Wed, 26 Jun 2013 06:47:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 458872012C for ; Wed, 26 Jun 2013 06:47:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750843Ab3FZGrg (ORCPT ); Wed, 26 Jun 2013 02:47:36 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:48742 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729Ab3FZGrg (ORCPT ); Wed, 26 Jun 2013 02:47:36 -0400 Received: by mail-pa0-f43.google.com with SMTP id hz11so13839805pad.30 for ; Tue, 25 Jun 2013 23:47:35 -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:x-gm-message-state; bh=uFpDvgOU1S6aByTPLCer12yQtaFb3w3990UnJuaMoUo=; b=bwTnTLy38O+ceKLEnwLuszJuao6GNd24p1uWSa+iy6/JTjZf6wnhQEyr+fSZW/QNeq mMwuKItkPIw2GChdUuB6WH7wFKB8lLRDPFHI02uMFnxnsaX9BhEPwl15S5lciBiIqa9H fRDenKnaSMbCckakhA+LCq3/V7zWfWV2kWyrxF8LyCOzFKMw3SeCjQ+pY9voY2FNAPlZ ELkALY7mI4I7zNoDXyOE7mMDznXF9p5G6TYmmw2oD2OPNb5N7WZS+qNsSz+xBIWPrhWi +pFFIjTeJ4Ljua6LhJJEZUoRxy8gm3FblE4DBQiqQmDxljlMFxau2eEdWMGsCud6vGC/ vSNw== X-Received: by 10.68.35.131 with SMTP id h3mr2519934pbj.140.1372229255673; Tue, 25 Jun 2013 23:47:35 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id to6sm23678254pab.0.2013.06.25.23.47.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 23:47:35 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, tony.olech@elandigitalsystems.com, sachin.kamat@linaro.org Subject: [PATCH 1/1] mmc: vub300: Staticize vub300_init_card Date: Wed, 26 Jun 2013 12:02:30 +0530 Message-Id: <1372228350-6375-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkuXtO8E+EcARGFXaM3ZKCqi3BlixdCXN9LT0DhPYXUMZ+uOsmSISHJHscI9hipHnnsyyoh Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 'vub300_init_card' is used only in this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/mmc/host/vub300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c index cb9f361..e9028ad 100644 --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c @@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable) kref_put(&vub300->kref, vub300_delete); } -void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) +static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card) { /* NOT irq */ struct vub300_mmc_host *vub300 = mmc_priv(mmc); dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");