MIPS: include linux/types.h
authorQais Yousef <qais.yousef@imgtec.com>
Mon, 9 Dec 2013 09:49:45 +0000 (09:49 +0000)
committerJiri Slaby <jslaby@suse.cz>
Mon, 24 Mar 2014 08:45:06 +0000 (09:45 +0100)
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: Jiri Slaby <jslaby@suse.cz>
arch/mips/include/asm/mipsregs.h

index e0331414c7d60f05cab6dc1c40788d513d71da23..86479bbf47146fe27475fbe30b4867754afdcd44 100644 (file)
@@ -14,6 +14,7 @@
 #define _ASM_MIPSREGS_H
 
 #include <linux/linkage.h>
+#include <linux/types.h>
 #include <asm/hazards.h>
 #include <asm/war.h>