summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:14:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:14:28 +0100
commit607496b38ca27e194fb587d9b75b4c2027631f41 (patch)
treee1d7f426f940c9605a3e69b46382d44e23950066 /arch/nios2
parente5bd17b896546a04f7a56bab8f18460b03e85219 (diff)
downloadbarebox-607496b38ca27e194fb587d9b75b4c2027631f41.tar.gz
nios2: Add missing typedef for umode_t
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/types.h b/arch/nios2/include/asm/types.h
index 0067ea8..710ee55 100644
--- a/arch/nios2/include/asm/types.h
+++ b/arch/nios2/include/asm/types.h
@@ -3,4 +3,6 @@
#include <asm/int-ll64.h>
+typedef unsigned short umode_t;
+
#endif