瀏覽代碼

mxs: regs-common.h must be wrapped with !__ASSEMBLY__

regs-common.h must be wrapped with #ifndef __ASSEMBLY__

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Peng Fan 9 年之前
父節點
當前提交
6014598f9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/include/asm/arch-mxs/regs-lcdif.h

+ 1 - 1
arch/arm/include/asm/arch-mxs/regs-lcdif.h

@@ -13,9 +13,9 @@
 #ifndef __MX28_REGS_LCDIF_H__
 #define __MX28_REGS_LCDIF_H__
 
+#ifndef	__ASSEMBLY__
 #include <asm/imx-common/regs-common.h>
 
-#ifndef	__ASSEMBLY__
 struct mxs_lcdif_regs {
 	mxs_reg_32(hw_lcdif_ctrl)		/* 0x00 */
 	mxs_reg_32(hw_lcdif_ctrl1)		/* 0x10 */