]> git.sur5r.net Git - u-boot/blobdiff - fs/yaffs2/yaffsfs.h
spl, nand: add 4bit HW ecc oob first nand_read_page function
[u-boot] / fs / yaffs2 / yaffsfs.h
index 9afe60a1ceb044b0a5474e2de12ff397f7eabaaa..95e7a914b375c83b899e7d2f2a13ff04e2c189a8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
  * Copyright (C) 2002-2007 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
@@ -47,7 +47,7 @@
 #define O_RDWR         02
 #endif
 
-#ifndef O_CREAT                
+#ifndef O_CREAT
 #define O_CREAT        0100
 #endif
 
@@ -95,7 +95,7 @@
 #define EACCESS        13
 #endif
 
-#ifndef EXDEV  
+#ifndef EXDEV
 #define EXDEV  18
 #endif
 
 #define S_IFREG                0100000
 #endif
 
-#ifndef S_IREAD 
+#ifndef S_IREAD
 #define S_IREAD                0000400
 #endif
 
@@ -202,8 +202,8 @@ int yaffs_stat(const char *path, struct yaffs_stat *buf) ;
 int yaffs_lstat(const char *path, struct yaffs_stat *buf) ;
 int yaffs_fstat(int fd, struct yaffs_stat *buf) ;
 
-int yaffs_chmod(const char *path, mode_t mode); 
-int yaffs_fchmod(int fd, mode_t mode); 
+int yaffs_chmod(const char *path, mode_t mode);
+int yaffs_fchmod(int fd, mode_t mode);
 
 int yaffs_mkdir(const char *path, mode_t mode) ;
 int yaffs_rmdir(const char *path) ;
@@ -216,10 +216,10 @@ int yaffs_closedir(yaffs_DIR *dirp) ;
 int yaffs_mount(const char *path) ;
 int yaffs_unmount(const char *path) ;
 
-int yaffs_symlink(const char *oldpath, const char *newpath); 
-int yaffs_readlink(const char *path, char *buf, int bufsiz); 
+int yaffs_symlink(const char *oldpath, const char *newpath);
+int yaffs_readlink(const char *path, char *buf, int bufsiz);
 
-int yaffs_link(const char *oldpath, const char *newpath); 
+int yaffs_link(const char *oldpath, const char *newpath);
 int yaffs_mknod(const char *pathname, mode_t mode, dev_t dev);
 
 loff_t yaffs_freespace(const char *path);
@@ -229,5 +229,3 @@ void yaffs_initialise(yaffsfs_DeviceConfiguration *configList);
 int yaffs_StartUp(void);
 
 #endif
-
-