From: Ezequiel Garcia Date: Fri, 20 Dec 2013 21:34:53 +0000 (-0300) Subject: board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a113fb39df43546c704aa8eba55720da9a9dfedd;p=u-boot.git board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include Signed-off-by: Ezequiel Garcia --- diff --git a/board/altera/nios2-generic/nios2-generic.c b/board/altera/nios2-generic/nios2-generic.c index 5c5b1b9148..aa126d71bc 100644 --- a/board/altera/nios2-generic/nios2-generic.c +++ b/board/altera/nios2-generic/nios2-generic.c @@ -8,7 +8,9 @@ #include #include +#if defined(CONFIG_CFI_FLASH_MTD) #include +#endif #include #include