From patchwork Wed Dec 28 11:18:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamie Iles X-Patchwork-Id: 133422 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 86215B6FE1 for ; Wed, 28 Dec 2011 22:20:39 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RfrXI-0002Bd-71; Wed, 28 Dec 2011 11:19:08 +0000 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RfrXE-0002BP-PW for linux-mtd@lists.infradead.org; Wed, 28 Dec 2011 11:19:05 +0000 Received: by lahc1 with SMTP id c1so10176250lah.36 for ; Wed, 28 Dec 2011 03:19:00 -0800 (PST) Received: by 10.152.114.103 with SMTP id jf7mr17829320lab.22.1325071140514; Wed, 28 Dec 2011 03:19:00 -0800 (PST) Received: from localhost (cpc1-chap8-2-0-cust194.aztw.cable.virginmedia.com. [94.169.120.195]) by mx.google.com with ESMTPS id fq5sm24503510lab.2.2011.12.28.03.18.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Dec 2011 03:19:00 -0800 (PST) From: Jamie Iles To: linux-mtd@lists.infradead.org Subject: [PATCH] mtd: gpio-nand: fix build breakage for !CONFIG_OF Date: Wed, 28 Dec 2011 11:18:57 +0000 Message-Id: <1325071137-4063-1-git-send-email-jamie@jamieiles.com> X-Mailer: git-send-email 1.7.5.4 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Jamie Iles , Artem Bityutskiy X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Whilst adding support for device tree probing I dropped a semicolon resulting in: drivers/mtd/nand/gpio.c: In function 'gpio_nand_get_io_sync_of': drivers/mtd/nand/gpio.c:237:1: error: expected ';' before '}' token Cc: Artem Bityutskiy Signed-off-by: Jamie Iles --- This appeared to get lost in my mail system, so resending to be sure! drivers/mtd/nand/gpio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index d4b5609..27000a5 100644 --- a/drivers/mtd/nand/gpio.c +++ b/drivers/mtd/nand/gpio.c @@ -233,7 +233,7 @@ static inline int gpio_nand_get_config_of(const struct device *dev, static inline struct resource * gpio_nand_get_io_sync_of(struct platform_device *pdev) { - return NULL + return NULL; } #endif /* CONFIG_OF */