Browse Source

imx: include linux/types.h for regs-common.h

There are uint8_t, uint32_t types in regs-common.h, so include
linux/types.h.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Peng Fan 9 years ago
parent
commit
eacb287523
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/include/asm/imx-common/regs-common.h

+ 2 - 0
arch/arm/include/asm/imx-common/regs-common.h

@@ -10,6 +10,8 @@
 #ifndef __MXS_REGS_COMMON_H__
 #define __MXS_REGS_COMMON_H__
 
+#include <linux/types.h>
+
 /*
  * The i.MXS has interesting feature when it comes to register access. There
  * are four kinds of access to one particular register. Those are: