From patchwork Fri Sep 7 00:25:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 1418621 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork1.kernel.org (Postfix) with ESMTP id 9F2DE3FC85 for ; Fri, 7 Sep 2012 00:25:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1T9mO3-0000ZP-HI; Fri, 07 Sep 2012 00:25:31 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1T9mO1-0000ZJ-PQ for spi-devel-general@lists.sourceforge.net; Fri, 07 Sep 2012 00:25:29 +0000 X-ACL-Warn: Received: from opensource.wolfsonmicro.com ([80.75.67.52]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1T9mO0-00023B-Sy for spi-devel-general@lists.sourceforge.net; Fri, 07 Sep 2012 00:25:29 +0000 Received: from finisterre.wolfsonmicro.main (unknown [60.247.8.34]) by opensource.wolfsonmicro.com (Postfix) with ESMTPSA id 9E184750004; Fri, 7 Sep 2012 01:25:21 +0100 (BST) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.80) (envelope-from ) id 1T9mNp-0001dU-NA; Fri, 07 Sep 2012 08:25:17 +0800 From: Mark Brown To: Daniel Mack , Grant Likely Subject: [PATCH] spi/gpio: Fix stub for spi_gpio_probe_dt() Date: Fri, 7 Sep 2012 08:25:17 +0800 Message-Id: <1346977517-6258-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.10.4 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1T9mO0-00023B-Sy Cc: Stephen Rothwell , Mark Brown , spi-devel-general@lists.sourceforge.net X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net The gpio_ was missing from the name. Add a name for the parameter while we're at it since GCC warns. Reported-by: Stephen Rothwell Signed-off-by: Mark Brown --- drivers/spi/spi-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index aed1615..a2b50c5 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c @@ -386,7 +386,7 @@ error_free: return ret; } #else -static inline int spi_probe_dt(struct platform_device *) +static inline int spi_gpio_probe_dt(struct platform_device *pdev) { return 0; }