summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-03-20 07:05:47 +0800
committerScott McNutt <smcnutt@psyent.com>2010-04-02 12:28:40 -0400
commitc72bfafbc94e61ea3ff3915c84aa7f9d91a045a0 (patch)
treefb10ed6990c25591dc3241ea8b6cb8c4d87810a8 /include/linux
parent3bef253f0802c6292b8e2acc0089894019e99e62 (diff)
downloadu-boot-imx-c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0.zip
u-boot-imx-c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0.tar.gz
u-boot-imx-c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0.tar.bz2
nios2: add struct stat support in linux/stat.h
This is needed for jffs2 support. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stat.h2
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;