summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorQais Yousef2013-12-09 10:49:45 +0100
committerRalf Baechle2014-01-23 13:02:37 +0100
commit87c99203fea897fbdd84b681ad9fced2517dcf98 (patch)
tree37ed0e234093f4032ab6f01aed9f8ac4f678fad2 /arch/mips
parentMIPS: sead3: use unflatten_and_copy_device_tree() (diff)
downloadkernel-qcow2-linux-87c99203fea897fbdd84b681ad9fced2517dcf98.tar.gz
kernel-qcow2-linux-87c99203fea897fbdd84b681ad9fced2517dcf98.tar.xz
kernel-qcow2-linux-87c99203fea897fbdd84b681ad9fced2517dcf98.zip
MIPS: include linux/types.h
The file uses u16 type but doesn't include its definition explicitly I was getting this error when including this header in my driver: arch/mips/include/asm/mipsregs.h:644:33: error: unknown type name ‘u16’ Signed-off-by: Qais Yousef <qais.yousef@imgtec.com> Reviewed-by: Steven J. Hill <Steven.Hill@imgtec.com> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6212/
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/mipsregs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index cb57e07faa24..bbc3dd4294bc 100644
--- a/arch/mips/include/asm/mipsregs.h
+++ b/arch/mips/include/asm/mipsregs.h
@@ -14,6 +14,7 @@
#define _ASM_MIPSREGS_H
#include <linux/linkage.h>
+#include <linux/types.h>
#include <asm/hazards.h>
#include <asm/war.h>