summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yportenv.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2012-08-14 18:26:10 +0000
committerWolfgang Denk <wd@denx.de>2012-09-02 16:47:50 +0200
commit74f45b739be635eaa4ec3a40dec6ad66084748c4 (patch)
treee67a5514834cd8e6bd5c36d93703004d7aa2919a /fs/yaffs2/yportenv.h
parent7cdcaef0b286fa20926d750304442ad770a1fca8 (diff)
u-boot yaffs2: Fix compilation warnings
Also remove yaffs_hweight and use the hweight in u-boot. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'fs/yaffs2/yportenv.h')
-rw-r--r--fs/yaffs2/yportenv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/yaffs2/yportenv.h b/fs/yaffs2/yportenv.h
index b47a4d601e9..251eba07921 100644
--- a/fs/yaffs2/yportenv.h
+++ b/fs/yaffs2/yportenv.h
@@ -17,6 +17,7 @@
#ifndef __YPORTENV_H__
#define __YPORTENV_H__
+#include <linux/types.h>
/* Definition of types */
#ifdef CONFIG_YAFFS_DEFINES_TYPES