1. 31 Oct, 2011 4 commits
  2. 30 Oct, 2011 2 commits
  3. 25 Oct, 2011 5 commits
  4. 20 Oct, 2011 3 commits
  5. 19 Oct, 2011 1 commit
  6. 18 Oct, 2011 1 commit
  7. 17 Oct, 2011 5 commits
    • Shawn Guo's avatar
      mmc: mxcmmc: explicitly includes mach/hardware.h · edae8998
      Shawn Guo authored
      When indirect inclusion to <mach/hardware.h> via <mach/gpio.h> gets
      removed, we will see the following compile error.
      
        CC      drivers/mmc/host/mxcmmc.o
      drivers/mmc/host/mxcmmc.c: In function ‘mxcmci_init_card’:
      drivers/mmc/host/mxcmmc.c:811:2: error: implicit declaration of function ‘cpu_is_mx3’
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      edae8998
    • Shawn Guo's avatar
      arm/imx: explicitly includes mach/hardware.h in pm-imx27.c · bbbab56e
      Shawn Guo authored
      The pm-imx27.c references a number of things requiring the explicit
      inclusion of mach/hardware.h.  Otherwise, when indirect inclusion
      to mach/hardware.h gets cleaned up, we will see the following
      compile error.
      
        CC      arch/arm/mach-imx/pm-imx27.o
      arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_suspend_enter’:
      arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IOMEM’
      arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IMX_IO_P2V’
      arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_pm_init’:
      arch/arm/mach-imx/pm-imx27.c:42:2: error: implicit declaration of function ‘cpu_is_mx27’
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      bbbab56e
    • Shawn Guo's avatar
      arm/imx: remove mx27_setup_weimcs() from mx27.h · 25971426
      Shawn Guo authored
      The helper function mx27_setup_weimcs() references IOMEM() and
      IMX_IO_P2V() but without required header mach/hardware.h included
      in mx27.h.  This will break the build of those mx27 file with no
      direct inclusion of mach/hardware.h, or when indirect inclusion to
      mach/hardware.h breaks.
      
      For example, when the inclusion of mach/hardware.h gets removed from
      mach/gpio.h, we will see the following compile error.
      
        CC      arch/arm/mach-imx/pm-imx27.o
      In file included from arch/arm/mach-imx/pm-imx27.c:14:0:
      arch/arm/plat-mxc/include/mach/mx27.h: In function ‘mx27_setup_weimcs’:
      arch/arm/plat-mxc/include/mach/mx27.h:138:2: error: implicit declaration of function ‘IOMEM’
      arch/arm/plat-mxc/include/mach/mx27.h:138:2: error: implicit declaration of function ‘IMX_IO_P2V’
      
      This patch removes mx27_setup_weimcs() from mx27.h and makes it local
      to mach-pcm038.c, which is the only user for this helper.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      25971426
    • Shawn Guo's avatar
      arm/imx: explicitly includes mach/hardware.h in mach-kzm_arm11_01.c · f2d9661b
      Shawn Guo authored
      The mach-kzm_arm11_01.c references a number of things requiring the
      explicit inclusion of mach/hardware.h.  Otherwise, when indirect
      inclusion to mach/hardware.h gets cleaned up, we will see the following
      compile error.
      
        CC      arch/arm/mach-imx/mach-kzm_arm11_01.o
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IOMEM’
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V_MODULE’
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS4’ undeclared here (not in a function)
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS5’ undeclared here (not in a function)
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V’
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      f2d9661b
    • Shawn Guo's avatar
      arm/imx: remove mx31_setup_weimcs() from mx31.h · f16fcb63
      Shawn Guo authored
      The helper function mx31_setup_weimcs() references IOMEM() and
      IMX_IO_P2V() but without required header mach/hardware.h included
      in mx31.h.  This will break the build of those mx31 based board file
      with no direct inclusion of mach/hardware.h, or when indirect inclusion
      to mach/hardware.h breaks.
      
      For example, when the inclusion of mach/hardware.h gets removed from
      mach/gpio.h, we will see the following compile error.
      
        CC      arch/arm/mach-imx/mach-pcm037_eet.o
      In file included from arch/arm/mach-imx/devices-imx31.h:9:0,
                       from arch/arm/mach-imx/mach-pcm037_eet.c:20:
      arch/arm/plat-mxc/include/mach/mx31.h: In function ‘mx31_setup_weimcs’:
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IOMEM’
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IMX_IO_P2V’
      
      This patch removes mx31_setup_weimcs() from mx31.h and makes it local
      to mach-qong.c, which is the only user for this helper.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      f16fcb63
  8. 13 Oct, 2011 19 commits