OSDN Git Service

MIPS: include linux/types.h
authorQais Yousef <qais.yousef@imgtec.com>
Mon, 9 Dec 2013 09:49:45 +0000 (09:49 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 Jan 2014 12:02:37 +0000 (13:02 +0100)
commit87c99203fea897fbdd84b681ad9fced2517dcf98
tree37ed0e234093f4032ab6f01aed9f8ac4f678fad2
parent7e8a2762dcdcc271656c4333848d6d796c3f5a42
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/
arch/mips/include/asm/mipsregs.h