1. 31 May, 2011 4 commits
    • Igor Grinberg's avatar
      arm: omap3: cm-t3517: fix section mismatch warning · 026fe79d
      Igor Grinberg authored
      WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
      in reference from the function cm_t3517_init_usbh() to the (unknown
      reference) .init.data:(unknown)
      The function cm_t3517_init_usbh() references
      the (unknown reference) __initdata (unknown).
      This is often because cm_t3517_init_usbh lacks a __initdata
      annotation or the annotation of (unknown) is wrong.
      Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      026fe79d
    • Santosh Shilimkar's avatar
      OMAP2+: Fix 9 section mismatch(es) warnings from mach-omap2/built-in.o · 89c4705e
      Santosh Shilimkar authored
      The serial*_data should have been marked as __initdata as per
      it's usage in the board files. Fix the same to remove the
      section mismatch warnings caused by it.
      Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: default avatarSilesh C V <silesh@ti.com>
      [tony@atomide.com: updated with additional fixes from Silesh]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      89c4705e
    • Axel Lin's avatar
      ARM: OMAP2: Add missing include of linux/gpio.h · f9fa1bb9
      Axel Lin authored
      I got some build error like below while executing "make omap2plus_defconfig".
      
        CC      arch/arm/mach-omap2/board-2430sdp.o
      arch/arm/mach-omap2/board-2430sdp.c: In function 'omap_2430sdp_init':
      arch/arm/mach-omap2/board-2430sdp.c:247: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function)
      arch/arm/mach-omap2/board-2430sdp.c:247: error: (Each undeclared identifier is reported only once
      arch/arm/mach-omap2/board-2430sdp.c:247: error: for each function it appears in.)
      
      This patch fixes the build error by include linux/gpio.h instead of mach/gpio.h.
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Cc: Syed Mohammed Khasim <x0khasim@ti.com>
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Cc: Steve Sakoman <steve@sakoman.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f9fa1bb9
    • Janusz Krzysztofik's avatar
      OMAP: fix compilation error · 046d886d
      Janusz Krzysztofik authored
      Forward-declare platform_device structure in
      arch/arm/plat-omap/include/plat/flash.h, otherwise compilation may break
      with:
      
      In file included from arch/arm/mach-omap1/flash.c:15:
      arch/arm/plat-omap/include/plat/flash.h:14: warning: 'struct platform_device' declared inside parameter list
      arch/arm/plat-omap/include/plat/flash.h:14: warning: its scope is only this definition or declaration, which is probably not what you want
      arch/arm/mach-omap1/flash.c:16: warning: 'struct platform_device' declared inside parameter list
      arch/arm/mach-omap1/flash.c:17: error: conflicting types for 'omap1_set_vpp'
      arch/arm/plat-omap/include/plat/flash.h:14: error: previous declaration of 'omap1_set_vpp' was here
      
      Detected and corrected while building for Amstrad Delta, confirmed with
      omap1_defconfig.
      Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      046d886d
  2. 30 May, 2011 1 commit
  3. 29 May, 2011 35 commits