1. 08 8月, 2011 1 次提交
  2. 27 7月, 2011 1 次提交
  3. 20 7月, 2011 1 次提交
  4. 08 7月, 2011 1 次提交
  5. 04 7月, 2011 1 次提交
    • J
      omap: drop __initdata tags from static struct platform_device declarations · 07ad6ab3
      Janusz Krzysztofik 提交于
      Pointers to statically declared platform device structures which are
      registered with platform_device_register() are then used during run time
      to access these structure members, for example from platform_uevent()
      and much more. Therefore, these structures should never be placed inside
      sections which are dropped after boot. Fix platform devices incorrectly
      tagged with __initdata which happen to exist inside OMAP sub-trees.
      
      This bug has exhibited itself on my ARM/OMAP1 based Amstrad Delta
      videophone after commit 6d3163ce, "mm:
      check if any page in a pageblock is reserved before marking it
      MIGRATE_RESERVE", resulting in reading from several
      /sys/device/platform/*/uevent files always ending up with segmentation
      faults.
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Cc: Varadarajan, Charulatha <charu@ti.com>
      Cc: Jarkko Nikula <jhnikula@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      07ad6ab3
  6. 02 7月, 2011 2 次提交
    • R
      PM: Rename clock management functions · 3d5c3036
      Rafael J. Wysocki 提交于
      The common PM clock management functions may be used for system
      suspend/resume as well as for runtime PM, so rename them
      accordingly.  Modify kerneldoc comments describing these functions
      and kernel messages printed by them, so that they refer to power
      management in general rather that to runtime PM.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reviewed-by: NKevin Hilman <khilman@ti.com>
      3d5c3036
    • R
      PM / Domains: Rename struct dev_power_domain to struct dev_pm_domain · 564b905a
      Rafael J. Wysocki 提交于
      The naming convention used by commit 7538e3db6e015e890825fbd9f86599b
      (PM: Add support for device power domains), which introduced the
      struct dev_power_domain type for representing device power domains,
      evidently confuses some developers who tend to think that objects
      of this type must correspond to "power domains" as defined by
      hardware, which is not the case.  Namely, at the kernel level, a
      struct dev_power_domain object can represent arbitrary set of devices
      that are mutually dependent power management-wise and need not belong
      to one hardware power domain.  To avoid that confusion, rename struct
      dev_power_domain to struct dev_pm_domain and rename the related
      pointers in struct device and struct pm_clk_notifier_block from
      pwr_domain to pm_domain.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NKevin Hilman <khilman@ti.com>
      564b905a
  7. 28 6月, 2011 1 次提交
  8. 20 6月, 2011 1 次提交
    • T
      omap: Set separate timer init functions to avoid cpu_is_omap tests · e74984e4
      Tony Lindgren 提交于
      This is needed for the following patches so we can initialize the
      rest of the hardware timers later on.
      
      As with the init_irq calls, there's no need to do cpu_is_omap calls
      during the timer init as we only care about the major omap generation.
      This means that we can initialize the sys_timer with the .timer
      entries alone.
      
      Note that for now we just set stubs for the various sys_timer entries
      that will get populated in a later patch. The following patches will
      also remove the omap_dm_timer_init calls and change the init for the
      rest of the hardware timers to happen with an arch_initcall.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Reviewed-by: NKevin Hilman <khilman@ti.com>
      e74984e4
  9. 17 6月, 2011 4 次提交
  10. 16 6月, 2011 1 次提交
  11. 14 6月, 2011 1 次提交
  12. 01 6月, 2011 1 次提交
  13. 24 5月, 2011 3 次提交
  14. 21 5月, 2011 1 次提交
  15. 17 5月, 2011 1 次提交
  16. 31 3月, 2011 1 次提交
  17. 29 3月, 2011 2 次提交
  18. 09 3月, 2011 1 次提交
    • P
      OMAP1: McBSP: fix build break for non-multi-OMAP1 configs · e7916740
      Paul Walmsley 提交于
      Commit 3cf32bba ("OMAP: McBSP: Convert
      McBSP to platform device model") breaks compilation with non-multi-OMAP1
      configs:
      
        CC      arch/arm/mach-omap1/mcbsp.o
      arch/arm/mach-omap1/mcbsp.c: In function 'omap1_mcbsp_init':
      arch/arm/mach-omap1/mcbsp.c:384: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:387: error: invalid use of void expression
      arch/arm/mach-omap1/mcbsp.c:390: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:393: error: invalid use of void expression
      
      Fix by avoiding NULL dereferences.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Acked-by: NJarkko Nikula <jhnikula@gmail.com>
      [tony@atomide.com: updated description not to remove unnecessary branch name]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e7916740
  19. 25 2月, 2011 1 次提交
  20. 18 2月, 2011 1 次提交
  21. 10 2月, 2011 2 次提交
  22. 04 2月, 2011 1 次提交
  23. 03 2月, 2011 1 次提交
  24. 02 2月, 2011 1 次提交
  25. 28 1月, 2011 8 次提交
    • A
      arm: mach-omap1: board-voiceblue: add missing include · 232bc651
      Aaro Koskinen 提交于
      Eliminates the following sparse warnings:
      
      	arch/arm/mach-omap1/board-voiceblue.c:253:6: warning: symbol 'voiceblue_wdt_enable' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:261:6: warning: symbol 'voiceblue_wdt_disable' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:269:6: warning: symbol 'voiceblue_wdt_ping' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:278:6: warning: symbol 'voiceblue_reset' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      232bc651
    • R
      ARM: OMAP: Allow platforms to hook reset cleanly · ee54dba9
      Russell King - ARM Linux 提交于
      This adds a clean method to allow platforms to hook into the reset
      code if they require to.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ee54dba9
    • A
      arm: mach-omap1: board-h3: make nand_platdata static · 277a2856
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-h3.c:207:27: warning: symbol 'nand_platdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      277a2856
    • A
      arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static · 140089da
      Aaro Koskinen 提交于
      Eliminates the following sparse warnings:
      
      	arch/arm/mach-omap1/board-htcherald.c:334:34: warning: symbol 'htcpld_chips' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-htcherald.c:369:34: warning: symbol 'htcpld_pfdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      140089da
    • A
      arm: mach-omap1: board-innovator: make innovator_mmc_init() static · 04023542
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-innovator.c:368:13: warning: symbol 'innovator_mmc_init' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      04023542
    • A
      arm: mach-omap1: board-h2: make h2_nand_platdata static · 5db98f75
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-h2.c:205:27: warning: symbol 'h2_nand_platdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5db98f75
    • 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 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