From patchwork Tue Jun 18 08:54:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2740051 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 58058C0AB1 for ; Tue, 18 Jun 2013 09:09:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 250AE2037B for ; Tue, 18 Jun 2013 09:09:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B45B20387 for ; Tue, 18 Jun 2013 09:09:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755528Ab3FRJJq (ORCPT ); Tue, 18 Jun 2013 05:09:46 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:49763 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755495Ab3FRJJm (ORCPT ); Tue, 18 Jun 2013 05:09:42 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so3714163pbb.36 for ; Tue, 18 Jun 2013 02:09:42 -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:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=3ett2GnHboPW9WjkC8hq63GZgDoD1eiycAV+CIww7V0=; b=ez/UnMwcyOzboyQp2HclJrcy9hu8PCiydhbJTZTpZddo4lNq3mOw3pZcPhckXVqOHa ELTQ45Oag3oTMLhegD/vOa0wqZ1ZGm2yK5xesCxK+UVs0fYv1I0k97lceiw6GN4AoiN5 xMDNUB5dXt8dR8J44N2+Mr3SmH7Jk4tjTUt3drA0vGloImi3VP2o/qLBp/u1EktHb8/2 1Piy9ueG8V0/InpOZ9re4NyUMU1RQMk9dgMj6z+RdjEoxu+FGG/ugxdQ27peRVFFHg2z 7umHdczseiH6lFwU2hKWzYFROLmWAD8l/kyMMhvhgUgg78OkXZ1pIAJsQXJIfgnsWPvw ADkA== X-Received: by 10.68.179.99 with SMTP id df3mr15878874pbc.198.1371546582373; Tue, 18 Jun 2013 02:09:42 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ib9sm17379975pbc.43.2013.06.18.02.09.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Jun 2013 02:09:41 -0700 (PDT) From: Sachin Kamat To: linux-mmc@vger.kernel.org Cc: cjb@laptop.org, sachin.kamat@linaro.org, Christian Daudt , Barry Song Subject: [PATCH 1/1] mmc: sdhci-sirf: Fix build breakage Date: Tue, 18 Jun 2013 14:24:54 +0530 Message-Id: <1371545694-31877-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkzTDjopbPi86zC7gWZbuV7dDziwl6hd6I3B4Revgray/AC4wMrmF6Lz+qQjpoRjCVznlmP 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.1 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 Commit 0e74823429 ("mmc: sdhci: Add size for caller in init+register") introduced size parameter to sdhci_pltfm_init(). This driver probably got left out during the conversion. Passing in zero as done for other drivers to avoid the following build error: drivers/mmc/host/sdhci-sirf.c: In function ‘sdhci_sirf_probe’: drivers/mmc/host/sdhci-sirf.c:78:2: error: too few arguments to function ‘sdhci_pltfm_init’ host = sdhci_pltfm_init(pdev, &sdhci_sirf_pdata); Signed-off-by: Sachin Kamat Cc: Christian Daudt Cc: Barry Song Acked-by: Christian Daudt --- Compile tested on linux-next (20130618) --- drivers/mmc/host/sdhci-sirf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c index 09805af..1a149eb 100644 --- a/drivers/mmc/host/sdhci-sirf.c +++ b/drivers/mmc/host/sdhci-sirf.c @@ -75,7 +75,7 @@ static int sdhci_sirf_probe(struct platform_device *pdev) priv->gpio_cd = -EINVAL; } - host = sdhci_pltfm_init(pdev, &sdhci_sirf_pdata); + host = sdhci_pltfm_init(pdev, &sdhci_sirf_pdata, 0); if (IS_ERR(host)) { ret = PTR_ERR(host); goto err_sdhci_pltfm_init;