1. 09 May, 2012 5 commits
    • Tomi Valkeinen's avatar
      ARM: OMAP4: panda: add statics to remove warnings · def1dbbd
      Tomi Valkeinen authored
      Add statics to board-omap4-panda.c's internal functions and data
      structures to remove sparse warnings:
      
      arch/arm/mach-omap2/board-omap4panda.c:234:29: warning: symbol
      'omap_panda_wlan_data' was not declared. Should it be static?
      arch/arm/mach-omap2/board-omap4panda.c:441:24: warning: symbol
      'omap4_panda_dvi_device' was not declared. Should it be static?
      arch/arm/mach-omap2/board-omap4panda.c:451:12: warning: symbol
      'omap4_panda_dvi_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-omap4panda.c:512:13: warning: symbol
      'omap4_panda_display_init' was not declared. Should it be static?
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      def1dbbd
    • Tony Lindgren's avatar
      ARM: OMAP2+: Incorrect Register Offsets in OMAP Mailbox · 256a4bd7
      Tony Lindgren authored
      Looks like the register offsets are incorrect in the OMAP mailbox code
      (arch/arm/mach-omap2/mailbox.c) for the OMAP4_MAILBOX_IRQ* macros. The
      discrepancy is with p.224 of TI document SPRUGX9 and p3891 of SWPU231K.
      Acked-by: default avatarVaibhav Bedia <vaibhav.bedia@ti.com>
      Signed-off-by: default avatarHenry Chan <enli.chan@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      256a4bd7
    • Felipe Contreras's avatar
      ARM: OMAP: fix trivial warnings for dspbridge · 28ee793e
      Felipe Contreras authored
      arch/arm/plat-omap/devices.c: In function 'omap_dsp_reserve_sdram_memblock':
      arch/arm/plat-omap/devices.c:170: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'phys_addr_t'
      arch/arm/mach-omap2/dsp.c: In function 'omap_dsp_init':
      arch/arm/mach-omap2/dsp.c:60: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'phys_addr_t'
      arch/arm/mach-omap2/dsp.c:60: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'phys_addr_t'
      Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      28ee793e
    • Balaji T K's avatar
      ARM: OMAP4: hsmmc: check for null pointer · 1ee47b0a
      Balaji T K authored
      platform_device pdev can be NULL if CONFIG_MMC_OMAP_HS is not set.
      Add check for NULL pointer. while at it move the duplicated functions
      to omap4-common.c
      
      Fixes the following boot crash seen with omap4sdp and omap4panda
      when MMC is disabled.
      
      Unable to handle kernel NULL pointer dereference at virtual address 0000008c
      pgd = c0004000
      [0000008c] *pgd=00000000
      Internal error: Oops: 5 [#1] SMP ARM
      Modules linked in:
      CPU: 0    Not tainted  (3.4.0-rc1-05971-ga4dfa82 #4)
      PC is at omap_4430sdp_init+0x184/0x410
      LR is at device_add+0x1a0/0x664
      Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
      Reported-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1ee47b0a
    • Artem Bityutskiy's avatar
      ARM: OMAP1: fix compilation issue in board-sx1.c · e54bdc18
      Artem Bityutskiy authored
      SX1 board requirese i2c, so select it in Kconfig, otherwise I have the
      following build error:
      
      arch/arm/mach-omap1/board-sx1.c: In function 'sx1_i2c_write_byte':
      arch/arm/mach-omap1/board-sx1.c:58:2: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration]
      arch/arm/mach-omap1/board-sx1.c:58:7: warning: assignment makes pointer from integer without a cast [enabled by default]
      arch/arm/mach-omap1/board-sx1.c:67:2: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]
      arch/arm/mach-omap1/board-sx1.c:68:2: error: implicit declaration of function 'i2c_put_adapter' [-Werror=implicit-function-declaration]
      arch/arm/mach-omap1/board-sx1.c: In function 'sx1_i2c_read_byte':
      arch/arm/mach-omap1/board-sx1.c:82:7: warning: assignment makes pointer from integer without a cast [enabled by default]
      cc1: some warnings being treated as errors
      make[1]: *** [arch/arm/mach-omap1/board-sx1.o] Error 1
      make: *** [arch/arm/mach-omap1] Error 2
      make: *** Waiting for unfinished jobs....
      Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      e54bdc18
  2. 06 May, 2012 5 commits
  3. 05 May, 2012 10 commits
  4. 04 May, 2012 20 commits