Skip to content
  • Peng Fan's avatar
    imx: mx27 move GPIO_PORTx to gpio.h · e6469f39
    Peng Fan authored
    
    
    These GPIO_PORTx macros should be in gpio.h, but not in imx-regs.h.
    
    Also, imx-regs.h and iomux-v3.h has same macro defintion for
    GPIO_PORTx, and both of them are included in mxc_i2c.c(include
    mxc_i2c.h). This will incur build warnings with macro redefinition.
    
    Since iomux-v3.h is not compatible with mx27, we can not simply
    include iomux-v3.h for mx27, so move the GPIO_PORTx to gpio.h to
    fix the build warning.
    
    Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
    e6469f39