From: Thomas Chou Date: Fri, 19 Mar 2010 23:05:47 +0000 (+0800) Subject: nios2: add struct stat support in linux/stat.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0;p=u-boot.git nios2: add struct stat support in linux/stat.h This is needed for jffs2 support. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt --- diff --git a/include/linux/stat.h b/include/linux/stat.h index 2ce1c25ac3..cef636959e 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;