summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorQais Yousef <qais.yousef@imgtec.com>2013-12-09 09:49:45 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-23 21:44:20 -0700
commitfb3fbceae217db1b059f7dc6ec2af40e5955fbfb (patch)
tree566c9f0e43c8a42beabec8ed5f00b26cb2676401 /arch
parent0cdd9e51c811d5bfba5e1a4067eea2ac02a2ce26 (diff)
MIPS: include linux/types.h
commit 87c99203fea897fbdd84b681ad9fced2517dcf98 upstream. 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/ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-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 e0331414c7d6..86479bbf4714 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>