summaryrefslogtreecommitdiffstats
path: root/fs/yaffs2/ydirectenv.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-02-26 15:59:16 -0700
committerTom Rini <trini@ti.com>2014-03-04 12:15:29 -0500
commit1b451ecc4366a5d40aebdad2241dc47abd25ea01 (patch)
treea7a2156ad29913cee916fdaa0229e1ab7e60beec /fs/yaffs2/ydirectenv.h
parent16ff9902468088a0a559b3db95421355ef60d366 (diff)
downloadu-boot-1b451ecc4366a5d40aebdad2241dc47abd25ea01.tar.gz
u-boot-1b451ecc4366a5d40aebdad2241dc47abd25ea01.tar.xz
u-boot-1b451ecc4366a5d40aebdad2241dc47abd25ea01.zip
yaffs: Remove private list implementation
U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from ydirectenv.h:80:0, from yportenv.h:81, from yaffs_guts.h:19, from yaffs_allocator.h:19, from yaffs_allocator.c:14: yaffs_list.h:32:8: error: redefinition of ‘struct list_head’ struct list_head { ^ Remove the yaffs implementation. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/yaffs2/ydirectenv.h')
-rw-r--r--fs/yaffs2/ydirectenv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/yaffs2/ydirectenv.h b/fs/yaffs2/ydirectenv.h
index c2ffbfd56d..c6614f13b0 100644
--- a/fs/yaffs2/ydirectenv.h
+++ b/fs/yaffs2/ydirectenv.h
@@ -77,7 +77,7 @@ void yaffs_qsort(void *aa, size_t n, size_t es,
#define YAFFS_ROOT_MODE 0666
#define YAFFS_LOSTNFOUND_MODE 0666
-#include "yaffs_list.h"
+#include "linux/list.h"
#include "yaffsfs.h"