1. 12 11月, 2011 1 次提交
    • O
      ARM: 7156/1: l2x0: fix compile error on !CONFIG_USE_OF · e7c86c7b
      Olof Johansson 提交于
      fae2b89a (ARM: l2x0: add empty l2x0_of_init) adds a static inline
      function that returns -ENODEV, but at least on tegra cache-l2x0.h is
      included without errno.h being pulled in first, resulting in compile
      errors if OF isn't enabled:
      
      In file included from arch/arm/mach-tegra/common.c:26:
      arch/arm/include/asm/hardware/cache-l2x0.h: In function 'l2x0_of_init':
      arch/arm/include/asm/hardware/cache-l2x0.h:110: error: 'ENODEV' undeclared (first use in this function)
      arch/arm/include/asm/hardware/cache-l2x0.h:110: error: (Each undeclared identifier is reported only once
      arch/arm/include/asm/hardware/cache-l2x0.h:110: error: for each function it appears in.)
      
      Add errno.h to the include file to make it self-contained.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Acked-by: NRob Herring <rob.herring@calxeda.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e7c86c7b
  2. 10 11月, 2011 3 次提交
    • F
      ARM: 7155/1: arch.h: Declare 'pt_regs' locally · 1a1f2be2
      Fabio Estevam 提交于
      Fix the following warning when building imx_v4_v5_defconfig target:
      
        CC      arch/arm/mach-imx/mach-imx27ipcam.o
      In file included from arch/arm/mach-imx/mach-imx27ipcam.c:18:
      /home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: 'struct pt_regs' declared inside parameter list
      /home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/arm/mach-imx/mach-imx27ipcam.c:78: warning: initialization from incompatible pointer type
      
      Declare 'struct pt_regs' locally.
      
      Cc: Eric Miao <eric.miao@canonical.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1a1f2be2
    • M
      ARM: 7154/1: mach-bcmring: fix build error in dma.c · 5fc86281
      Maxin B. John 提交于
      Fixes this build error:
      
       CC      arch/arm/mach-bcmring/dma.o
      arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
      arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
      arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier is reported only once
      arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears in.)
      arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of function 'schedule'
      arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of function 'signal_pending'
      arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
      arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
      arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
      arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to incomplete type
      arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to incomplete type
      arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to incomplete type
      make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
      make: *** [arch/arm/mach-bcmring] Error 2
      Signed-off-by: NMaxin B. John <maxin.john@gmail.com>
      Reviewed-by: NJiandong Zheng <jdzheng@broadcom.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      5fc86281
    • M
      ARM: 7153/1: mach-bcmring: fix build error in core.c · 8658ca73
      Maxin B. John 提交于
      Fixes this build error:
      
      CC      arch/arm/mach-bcmring/core.o
      arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
      arch/arm/mach-bcmring/core.c:238: error: implicit declaration of function 'sp804_clockevents_register'
      make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
      make: *** [arch/arm/mach-bcmring] Error 2
      Signed-off-by: NMaxin B. John <maxin.john@gmail.com>
      Reviewed-by: NJiandong Zheng <jdzheng@broadcom.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8658ca73
  3. 09 11月, 2011 3 次提交
  4. 08 11月, 2011 1 次提交
  5. 07 11月, 2011 28 次提交
  6. 06 11月, 2011 4 次提交