Give a name to the nandemul2k MTD device.
[yaffs2.git] / direct / yaffsfs.h
index 2f99474aac262d6bc4772785a595a3e35c9930f5..b670f11690282531e9c213566707342576ffe345 100644 (file)
 #endif
 
 #ifndef S_IREAD 
-#define S_READ         0000400
+#define S_IREAD                0000400
 #endif
 
 #ifndef S_IWRITE
@@ -155,6 +155,7 @@ typedef struct yaffs_dirent yaffs_dirent;
 typedef struct __opaque yaffs_DIR;
 
 
+
 struct yaffs_stat{
     int                      st_dev;      /* device */
     int           st_ino;      /* inode */
@@ -166,9 +167,9 @@ struct yaffs_stat{
     off_t         st_size;     /* total size, in bytes */
     unsigned long st_blksize;  /* blocksize for filesystem I/O */
     unsigned long st_blocks;   /* number of blocks allocated */
-    unsigned long st_atime;    /* time of last access */
-    unsigned long st_mtime;    /* time of last modification */
-    unsigned long st_ctime;    /* time of last change */
+    unsigned long yst_atime;    /* time of last access */
+    unsigned long yst_mtime;    /* time of last modification */
+    unsigned long yst_ctime;    /* time of last change */
 };
 
 int yaffs_open(const char *path, int oflag, int mode) ;