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 năm trước cách đây
mục cha
commit
eacb287523
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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: