From: Thomas Chou Date: Sat, 20 Mar 2010 07:05:47 +0800 Subject: [U-Boot] [PATCH 4/4] nios2: add struct stat support in linux/stat.h In-Reply-To: <1269039947-21155-1-git-send-email-thomas@wytron.com.tw> References: <1269039947-21155-1-git-send-email-thomas@wytron.com.tw> Message-ID: <1269039947-21155-4-git-send-email-thomas@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is needed for jffs2 support. Signed-off-by: Thomas Chou --- include/linux/stat.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/stat.h b/include/linux/stat.h index 2ce1c25..cef6369 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -68,7 +68,7 @@ struct stat { #endif /* __PPC__ */ #if defined (__ARM__) || defined (__I386__) || defined (__M68K__) || defined (__bfin__) ||\ - defined (__microblaze__) + defined (__microblaze__) || defined (__nios2__) struct stat { unsigned short st_dev; -- 1.6.6.1