From patchwork Thu Oct 30 08:15:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 404913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 24F1114007D for ; Thu, 30 Oct 2014 19:16:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 49A214BA44; Thu, 30 Oct 2014 09:16:05 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QQaBFt5rodot; Thu, 30 Oct 2014 09:16:05 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2D2DC4BA86; Thu, 30 Oct 2014 09:15:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5B93D4BA2D for ; Thu, 30 Oct 2014 09:15:18 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pk-hZ+uNe6sh for ; Thu, 30 Oct 2014 09:15:18 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pollux.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by theia.denx.de (Postfix) with ESMTP id AB0124BA36 for ; Thu, 30 Oct 2014 09:15:16 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 683FA6A89; Thu, 30 Oct 2014 09:15:16 +0100 (CET) From: Heiko Schocher To: U-Boot Mailing List Date: Thu, 30 Oct 2014 09:15:01 +0100 Message-Id: <1414656906-16632-8-git-send-email-hs@denx.de> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1414656906-16632-1-git-send-email-hs@denx.de> References: <1414656906-16632-1-git-send-email-hs@denx.de> MIME-Version: 1.0 Subject: [U-Boot] [v2 PATCH 07/12] mtd: atmel_nand: add missign include X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in an compileerror. Fix this. Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann --- Changes in v2: add Reviewed-by: Andreas Bießmann drivers/mtd/nand/atmel_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 9114a86..d506e42 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -18,6 +18,7 @@ #include #include #include +#include #ifdef CONFIG_ATMEL_NAND_HWECC