]> git.sur5r.net Git - u-boot/commitdiff
mxs: regs-common.h must be wrapped with !__ASSEMBLY__
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 29 Oct 2015 07:54:41 +0000 (15:54 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Nov 2015 16:38:08 +0000 (17:38 +0100)
regs-common.h must be wrapped with #ifndef __ASSEMBLY__

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mxs/regs-lcdif.h

index 8915d84d0d735b0bc99a042d402421275d1282ce..fff6379a7e6ddf219d94ea9eb0cc0fc8f4721866 100644 (file)
@@ -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 */