From patchwork Sat Jul 28 22:29:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 173893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from merlin.infradead.org (unknown [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 D62ED2C008C for ; Sun, 29 Jul 2012 08:33:34 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SvFWh-00019r-8m; Sat, 28 Jul 2012 22:30:23 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SvFW8-000190-MD for linux-mtd@lists.infradead.org; Sat, 28 Jul 2012 22:29:48 +0000 Received: by ghbf11 with SMTP id f11so4199830ghb.36 for ; Sat, 28 Jul 2012 15:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=GtQ5Aj5u3PHbYUUoOBTQYcomWpXufylvxYRcTLBZiLo=; b=dyPMRNBF57u/sY4dMIUHd5X8JHQqmfUjWM1vtUNNlaSp7ZPwiQa+5DreT0zRx53sqU ZSufHP3StciYzuOY4Lt3Wq5maBZbFA9ApEjV1uvyR8kumJcSahqAN5PS8DhKUHH50r7I i2PgFO7zFpANG+yPHo5wMC9YlZObXIRUg7fHMEOyF7dx5IfRhKEhs8uBo6GjStGuvO81 QUARHu4Wcxp6G9oByySyAThAI/lM12sLUUTdIhD+jVJeMSfJyjbiSHuzMCmCkepapi9D rTnrWpNfP2gZRYxDXaV8w1rRzyL96uSzBKSqwoNl70a0ZYCg1vhfNf+VwwY8XzXidFli C7BA== Received: by 10.236.147.5 with SMTP id s5mr6165827yhj.87.1343514578518; Sat, 28 Jul 2012 15:29:38 -0700 (PDT) Received: from localhost.localdomain ([189.5.6.233]) by mx.google.com with ESMTPS id v3sm5495455anm.16.2012.07.28.15.29.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jul 2012 15:29:38 -0700 (PDT) From: Fabio Estevam To: Artem.Bityutskiy@linux.intel.com Subject: [PATCH 1/2] nand: nand_bbt: Export nand_update_bbt Date: Sat, 28 Jul 2012 19:29:25 -0300 Message-Id: <1343514565-8983-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1343514565-8983-1-git-send-email-festevam@gmail.com> References: <1343514565-8983-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: Fabio Estevam , b32955@freescale.com, linux-mtd@lists.infradead.org, marex.vasut@denx.de, kernel@pengutronix.de, shawn.guo@linaro.org, dwmw2@infradead.org 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 From: Fabio Estevam When building MTD_NAND_GPMI_NAND as module, the following error shows up: ERROR: "nand_update_bbt" [drivers/mtd/nand/gpmi-nand/gpmi_nand.ko] undefined! Export nand_update_bbt to fix it. Signed-off-by: Fabio Estevam --- drivers/mtd/nand/nand_bbt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 2d1d2fa..f4b6417 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c @@ -1403,3 +1403,4 @@ int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt) EXPORT_SYMBOL(nand_scan_bbt); EXPORT_SYMBOL(nand_default_bbt); +EXPORT_SYMBOL(nand_update_bbt);