]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[JFFS2] Avoid compiler warnings when JFFS2_FS_WRITEBUFFER=n
authorTodd Poynor <tpoynor@mvista.com>
Tue, 12 Jul 2005 02:34:39 +0000 (03:34 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Tue, 12 Jul 2005 22:03:19 +0000 (00:03 +0200)
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/jffs2/os-linux.h

index 7bf72e012c9412590d556bd383cd31c15b7e3a91..d900c8929b09983cca227d2deeb1658ac0913b0b 100644 (file)
@@ -7,7 +7,7 @@
  *
  * For licensing information, see the file 'LICENCE' in this directory.
  *
- * $Id: os-linux.h,v 1.57 2005/07/06 12:13:09 dwmw2 Exp $
+ * $Id: os-linux.h,v 1.58 2005/07/12 02:34:35 tpoynor Exp $
  *
  */
 
@@ -86,6 +86,8 @@ static inline void jffs2_init_inode_info(struct jffs2_inode_info *f)
 #define jffs2_dataflash(c) (0)
 #define jffs2_nor_ecc_flash_setup(c) (0)
 #define jffs2_nor_ecc_flash_cleanup(c) do {} while (0)
+#define jffs2_dataflash_setup(c) (0)
+#define jffs2_dataflash_cleanup(c) do {} while (0)
 
 #else /* NAND and/or ECC'd NOR support present */