1. 20 1月, 2012 1 次提交
    • R
      Revert "RTC: sa1100: support sa1100, pxa and mmp soc families" · a0164a57
      Russell King 提交于
      This reverts commit 7cea0065.
      
      The sa1100 cleanups fatally broke the SA1100 RTC driver - the first
      hint that something is wrong are these compiler warnings:
      
      drivers/rtc/rtc-sa1100.c:42:1: warning: "RCNR" redefined
      In file included from arch/arm/mach-sa1100/include/mach/hardware.h:73,
                       from drivers/rtc/rtc-sa1100.c:35:
      arch/arm/mach-sa1100/include/mach/SA-1100.h:877:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:43:1: warning: "RTAR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:876:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:44:1: warning: "RTSR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:879:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:45:1: warning: "RTTR" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:878:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:47:1: warning: "RTSR_HZE" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:891:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:48:1: warning: "RTSR_ALE" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:890:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:49:1: warning: "RTSR_HZ" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:889:1: warning: this is the location of the previous definition
      drivers/rtc/rtc-sa1100.c:50:1: warning: "RTSR_AL" redefined
      arch/arm/mach-sa1100/include/mach/SA-1100.h:888:1: warning: this is the location of the previous definition
      
      and the second problem, which is far more severe, are the different
      register layouts, resulting in the wrong registers being read on
      SA11x0 platforms.  This patch adds:
      
      	#define RCNR           0x00    /* RTC Count Register */
      	#define RTAR           0x04    /* RTC Alarm Register */
      	#define RTSR           0x08    /* RTC Status Register */
      	#define RTTR           0x0c    /* RTC Timer Trim Register */
      
      but the SA11x0 registers are:
      
      	#define RTAR            __REG(0x90010000)  /* RTC Alarm Reg. */
      	#define RCNR            __REG(0x90010004)  /* RTC CouNt Reg. */
      	#define RTTR            __REG(0x90010008)  /* RTC Trim Reg. */
      	#define RTSR            __REG(0x90010010)  /* RTC Status Reg. */
      a0164a57
  2. 19 1月, 2012 1 次提交
  3. 05 1月, 2012 2 次提交
  4. 02 1月, 2012 1 次提交
  5. 30 12月, 2011 1 次提交
  6. 28 12月, 2011 4 次提交
  7. 19 12月, 2011 1 次提交
  8. 17 12月, 2011 5 次提交
  9. 09 12月, 2011 2 次提交
  10. 27 11月, 2011 1 次提交
  11. 21 11月, 2011 2 次提交
  12. 16 11月, 2011 1 次提交
  13. 15 11月, 2011 2 次提交
  14. 14 11月, 2011 5 次提交
  15. 11 11月, 2011 1 次提交
  16. 10 11月, 2011 1 次提交
  17. 06 11月, 2011 2 次提交
    • R
      ARM: PXA: fix gpio-pxa.h build errors · 7124cb96
      Russell King 提交于
      A mismerge in 43872fa7 (Merge branch 'depends/rmk/gpio' into next/fixes)
      causes these build errors:
      
      In file included from arch/arm/mach-pxa/include/mach/gpio.h:30,
                       from arch/arm/include/asm/gpio.h:6,
                       from include/linux/gpio.h:31,
                       from arch/arm/mach-pxa/generic.c:20:
      arch/arm/mach-pxa/include/mach/gpio-pxa.h: In function ■__gpio_is_occupied■:
      arch/arm/mach-pxa/include/mach/gpio-pxa.h:121: error: invalid operands to binary >> (have ■void *■ and ■unsigned int■)
      arch/arm/mach-pxa/include/mach/gpio-pxa.h:122: error: invalid operands to binary & (have ■void *■ and ■int■)
      arch/arm/mach-pxa/include/mach/gpio-pxa.h:129: error: invalid operands to binary & (have ■void *■ and ■int■)
      
      So fix them.
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7124cb96
    • R
      ARM: PXA: eseries: fix eseries_register_clks section mismatch warning · 955d2953
      Russell King 提交于
      Fix:
      
      WARNING: vmlinux.o(.text+0x1a820): Section mismatch in reference from the function eseries_register_clks() to the function .init.text:clkdev_add_table()
      The function eseries_register_clks() references
      the function __init clkdev_add_table().
      This is often because eseries_register_clks lacks a __init
      annotation or the annotation of clkdev_add_table is wrong.
      
      by adding the __init annotation to eseries_register_clks() - this
      function is only called from other __init-marked functions.  While
      we're here, mark it static as it's only called from within eseries.c.
      Acked-by: NEric Miao <eric.y.miao@gmail.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      955d2953
  18. 04 11月, 2011 1 次提交
  19. 01 11月, 2011 3 次提交
  20. 31 10月, 2011 1 次提交
  21. 25 10月, 2011 1 次提交
  22. 17 10月, 2011 1 次提交