From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PrqU5-0005qi-QM for barebox@lists.infradead.org; Tue, 22 Feb 2011 11:32:50 +0000 From: Marc Kleine-Budde Date: Tue, 22 Feb 2011 12:32:44 +0100 Message-Id: <1298374366-6956-2-git-send-email-mkl@pengutronix.de> In-Reply-To: <1298374366-6956-1-git-send-email-mkl@pengutronix.de> References: <1298374366-6956-1-git-send-email-mkl@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH V2 1/3] at91sam9g45_devices: fix compilation if NAND driver is enabled To: barebox@lists.infradead.org Cc: sha@pengutronix.de From: Juergen Beisert Enabling the AT91 NAND driver fails with the following error: arch/arm/mach-at91/at91sam9g45_devices.c: In function 'at91_add_device_nand': arch/arm/mach-at91/at91sam9g45_devices.c:101: error: 'NAND_ECC_HW' undeclared (first use in this function) Include the missing "nand.h". Signed-off-by: Juergen Beisert Signed-off-by: Marc Kleine-Budde --- arch/arm/mach-at91/at91sam9g45_devices.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index ddb005a..306d1e4 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "generic.h" -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox