From patchwork Mon Aug 9 11:38:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 61266 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3ADA8B70CE for ; Mon, 9 Aug 2010 21:39:58 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OiQh5-0001Ig-JN; Mon, 09 Aug 2010 11:39:03 +0000 Received: from tango.tkos.co.il ([62.219.50.35]) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1OiQgw-0000Rb-Lb; Mon, 09 Aug 2010 11:38:56 +0000 Received: from jasper (89-139-33-111.bb.netvision.net.il [89.139.33.111]) (authenticated bits=0) by tango.tkos.co.il (8.14.4/8.12.11) with ESMTP id o79BcaaP020348; Mon, 9 Aug 2010 14:38:40 +0300 From: Baruch Siach To: linux-mtd@lists.infradead.org, Sascha Hauer Subject: [PATCH 1/2] mxc_nand: fix build error Date: Mon, 9 Aug 2010 14:38:13 +0300 Message-Id: <4db426cd74bc8aae80ddcbf666681c3cd439dfc7.1281353601.git.baruch@tkos.co.il> X-Mailer: git-send-email 1.7.1 In-Reply-To: References: <1281102791-8089-1-git-send-email-s.hauer@pengutronix.de> X-Spam-Level: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.62 on 62.219.50.35 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100809_073855_063016_B974DD76 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: John Ogness , Baruch Siach , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 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 drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command': drivers/mtd/nand/mxc_nand.c:908: error: implicit declaration of function 'send_cmd' Signed-off-by: Baruch Siach --- drivers/mtd/nand/mxc_nand.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 4032e0b..3092240 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -905,13 +905,13 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command, /* Set program pointer to spare region */ if (mtd->writesize == 512) - send_cmd(host, NAND_CMD_READOOB, false); + host->send_cmd(host, NAND_CMD_READOOB, false); } else { host->buf_start = column; /* Set program pointer to page start */ if (mtd->writesize == 512) - send_cmd(host, NAND_CMD_READ0, false); + host->send_cmd(host, NAND_CMD_READ0, false); } host->send_cmd(host, command, false);