1. 28 1月, 2011 10 次提交
    • F
      arm: omap2: irq: fix compile warning: · ee23b93d
      Felipe Balbi 提交于
      Fix the following compile warning:
      arch/arm/mach-omap2/irq.c:64:31: warning: 'intc_context' defined but not
      used
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ee23b93d
    • F
      arm: omap1: fix a bunch of section mismatches · bdc58fb9
      Felipe Balbi 提交于
      Fix the following section mismatches:
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x491c): Section mismatch
      in reference from the variable fsample_config to the (unknown reference)
      .init.data:(unknown)
      The variable fsample_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x8f0c): Section mismatch
      in reference from the variable ams_delta_config to the (unknown
      reference) .init.data:(unknown)
      The variable ams_delta_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x93ac): Section mismatch
      in reference from the variable ams_delta_camera_device to the (unknown
      reference) .init.data:(unknown)
      The variable ams_delta_camera_device references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0x5e94): Section mismatch in reference from the
      variable fsample_config to the (unknown reference) .init.data:(unknown)
      The variable fsample_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0xa484): Section mismatch in reference from the
      variable ams_delta_config to the (unknown reference)
      .init.data:(unknown)
      The variable ams_delta_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0xa924): Section mismatch in reference from the
      variable ams_delta_camera_device to the (unknown reference)
      .init.data:(unknown)
      The variable ams_delta_camera_device references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      bdc58fb9
    • F
      arm: omap1: fix compile warnings · 58dfaba7
      Felipe Balbi 提交于
      Fix the following compile warnings:
      arch/arm/mach-omap1/board-innovator.c:165:3: warning: initialization
      makes integer from pointer without a cast
      arch/arm/mach-omap1/board-perseus2.c:305:3: warning: initialization
      makes integer from pointer without a cast
      arch/arm/mach-omap1/board-fsample.c:338:3: warning: initialization makes
      integer from pointer without a cast
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      58dfaba7
    • F
      arm: omap1: fix compile warning · ae3126ed
      Felipe Balbi 提交于
      Fix the following compile warning:
      arch/arm/mach-omap1/board-palmte.c:233:13: warning:
      'palmte_headphones_detect' defined but not used
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ae3126ed
    • F
      arm: omap: i2c: fix compile warning · 790a26f6
      Felipe Balbi 提交于
      Fix the following compile warning:
      arch/arm/plat-omap/i2c.c:120:13: warning:
      'omap_pm_set_max_mpu_wakeup_lat_compat' defined but not used
      arch/arm/plat-omap/i2c.c:125:38: warning: 'omap_i2c_latency'
      defined but not used
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      790a26f6
    • T
      omap: Start using CONFIG_SOC_OMAP · 59b479e0
      Tony Lindgren 提交于
      We want to have just CONFIG_ARCH_OMAP2, 3 and 4. The rest
      are nowadays just subcategories of these.
      
      Search and replace the following:
      
      ARCH_OMAP2420		SOC_OMAP2420
      ARCH_OMAP2430		SOC_OMAP2430
      ARCH_OMAP3430		SOC_OMAP3430
      
      No functional changes.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NThomas Weber <weber@corscience.de>
      Acked-by: NSourav Poddar <sourav.poddar@ti.com>
      59b479e0
    • J
      arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR · 0e6d8cad
      Julia Lawall 提交于
      This code elsewhere returns a negative constant to an indicate an error,
      while IS_ERR returns the result of a >= operation.
      
      The semantic patch that fixes this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression x;
      @@
      
       if (...) { ...
      - return IS_ERR(x);
      + return PTR_ERR(x);
      }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Acked-by: NJarkko Nikula <jhnikula@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      0e6d8cad
    • F
      arm: omap2: mux: fix compile warning · afb7d709
      Felipe Balbi 提交于
      Commit 8419fdba
      (omap2+: Add omap_mux_get_by_name) introduced the following
      compile warning:
      
      arch/arm/mach-omap2/mux.c: In function '_omap_mux_get_by_name':
      arch/arm/mach-omap2/mux.c:163:17: warning: 'found_mode' may be used
      uninitialized in this function
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      [tony@atomide.com: updated comments]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      afb7d709
    • T
      omap1: Simplify use of omap_irq_flags · efe318a3
      Tony Lindgren 提交于
      Commit 03a9e512
      (omap1: Use asm_irq_flags for entry-macro.S) added support
      for multi-omap builds with addition of the omap_irq_flags.
      
      Commit 9f9605c2
      (omap2+: Fix unused variable warning for omap_irq_base)
      simplified omap2+ entry-macro.S by moving omap_irq_flags
      out of entry-macro.S.
      
      Simplify omap1 entry-macro.S in a similar way to keep the
      code consistent. Based on a similar earlier patch for omap2+
      by Russell King <rmk+kernel@arm.linux.org.uk>.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      efe318a3
    • R
      omap2+: Fix unused variable warning for omap_irq_base · 9f9605c2
      Russell King 提交于
      Commit 5d190c40
      (omap2+: Initialize omap_irq_base for entry-macro.S from
      platform code) simplified the handling of omap_irq_base
      for multi-omap builds. However, this patch also introduced
      a build warning for !MULTI_OMAP2 builds:
      
      arch/arm/mach-omap2/io.c: In function 'omap_irq_base_init':
      arch/arm/mach-omap2/io.c:322: warning: unused variable 'omap_irq_base'
      
      Fix this by removing the ifdef. Also simplify things further
      by moving omap_irq_base out of entry-macro.S.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      [tony@atomide.com: updated comments]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      9f9605c2
  2. 26 1月, 2011 5 次提交
  3. 25 1月, 2011 3 次提交
    • R
      ARM: versatile: name configuration options after actual board names · e5310f61
      Russell King 提交于
      Update the option text to those which appear on the front of the
      appropriate board user guides.  This gives consistent board naming, and
      makes it obvious which option is for which platform.
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e5310f61
    • R
      ARM: realview: name configuration options after actual board names · d2a1c9ad
      Russell King 提交于
      As no one seems to really know which configuration options tie up with
      which boards, I thought I'd do some investigation and try to work it
      out.  After discussion with some folk in linaro, I think I have this
      nailed.
      
      The names are updated to use the name on the front of the appropriate
      board user guide for the various baseboards, which I've taken to be
      the official name for each board.
      
      I haven't significantly updated the descriptions for the tiles as that
      is even less clear - as far as I can see on ARMs website, there is no
      Cortex-A9 tile for Realview EB - only ARM11MPCore, ARM1156T2F-S,
      ARM1176TZF-S and Cortex-R4F.  So exactly what this 'Multicore Cortex-A9
      Tile' is...
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d2a1c9ad
    • R
      ARM: realview,vexpress: fix section mismatch warning for pen_release · ec15038f
      Russell King 提交于
      Fix two section mismatch warnings in the platform SMP bringup code for
      Realview and Versatile Express:
      
      WARNING: arch/arm/mach-realview/built-in.o(.text+0x8ac): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
      The function write_pen_release() references
      the variable __cpuinitdata pen_release.
      This is often because write_pen_release lacks a __cpuinitdata
      annotation or the annotation of pen_release is wrong.
      
      WARNING: arch/arm/mach-vexpress/built-in.o(.text+0x7b4): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
      The function write_pen_release() references
      the variable __cpuinitdata pen_release.
      This is often because write_pen_release lacks a __cpuinitdata
      annotation or the annotation of pen_release is wrong.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ec15038f
  4. 21 1月, 2011 2 次提交
  5. 20 1月, 2011 8 次提交
  6. 19 1月, 2011 5 次提交
  7. 18 1月, 2011 7 次提交