1. 10 7月, 2013 1 次提交
  2. 13 6月, 2013 1 次提交
  3. 10 4月, 2013 1 次提交
  4. 02 4月, 2013 1 次提交
  5. 15 2月, 2013 1 次提交
    • A
      ARM: sa1100/assabet: include platform_device.h directly · 7f206d49
      Arnd Bergmann 提交于
      Patch "16559ae4 kgdb: remove #include <linux/serial_8250.h> from kgdb.h
      caused assabet_defconfig to fail, since assabet.c did not
      itself include linux/platform_device.h, although it needs it:
      
      In file included from include/linux/mfd/ucb1x00.h:13:0,
                       from arch/arm/mach-sa1100/assabet.c:19:
      include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type
      include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type
      In file included from arch/arm/mach-sa1100/assabet.c:19:0:
      include/linux/mfd/ucb1x00.h:137:16: error: field 'dev' has incomplete type
      arch/arm/mach-sa1100/assabet.c: In function 'assabet_init':
      arch/arm/mach-sa1100/assabet.c:343:3: error: implicit declaration of function 'platform_device_register_simple' [-Wimplicit-function-declaration]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7f206d49
  6. 14 2月, 2013 1 次提交
    • A
      ARM: sa1100: don't warn about mach/ide.h · 29408ed9
      Arnd Bergmann 提交于
      This warning has existed since before the start of (git) history.
      Apparently nobody has bothered to fix it in a long time, and
      this is unlikely to change. Note that the file that the warning
      refers to has moved to a different location and was subsequently
      deleted in 2008.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      29408ed9
  7. 15 1月, 2013 1 次提交
  8. 11 1月, 2013 1 次提交
  9. 04 1月, 2013 1 次提交
    • G
      ARM: drivers: remove __dev* attributes. · 351a102d
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351a102d
  10. 25 12月, 2012 2 次提交
  11. 16 11月, 2012 1 次提交
  12. 14 10月, 2012 1 次提交
    • R
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King 提交于
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      
      lets sort all our select statements alphanumerically.  This commit was
      created by the following perl:
      
      while (<>) {
      	while (/\\\s*$/) {
      		$_ .= <>;
      	}
      	undef %selects if /^\s*config\s+/;
      	if (/^\s+select\s+(\w+).*/) {
      		if (defined($selects{$1})) {
      			if ($selects{$1} eq $_) {
      				print STDERR "Warning: removing duplicated $1 entry\n";
      			} else {
      				print STDERR "Error: $1 differently selected\n".
      					"\tOld: $selects{$1}\n".
      					"\tNew: $_\n";
      				exit 1;
      			}
      		}
      		$selects{$1} = $_;
      		next;
      	}
      	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
      			  /^endif/ or /^endchoice/)) {
      		foreach $k (sort (keys %selects)) {
      			print "$selects{$k}";
      		}
      		undef %selects;
      	}
      	print;
      }
      if (%selects) {
      	foreach $k (sort (keys %selects)) {
      		print "$selects{$k}";
      	}
      }
      
      It found two duplicates:
      
      Warning: removing duplicated S5P_SETUP_MIPIPHY entry
      Warning: removing duplicated HARDIRQS_SW_RESEND entry
      
      and they are identical duplicates, hence the shrinkage in the diffstat
      of two lines.
      
      We have four testers reporting success of this change (Tony, Stephen,
      Linus and Sekhar.)
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  13. 09 10月, 2012 1 次提交
    • A
      ARM: assabet: fix bogus warning in get_assabet_scr (again) · c6e9fbbf
      Arnd Bergmann 提交于
      Russell fixed this bogus warning before in 2f3eca8b "Shut up gcc
      warning in assabet.c", but apparently gcc has become smarter (or dumber)
      since 2005, and the same warning came up again.
      
      This uses the uninitialized_var() macro to convince gcc that the
      variable is actually being initialized. 100 times in fact.
      
      Without this patch, building assabet_defconfig results in:
      
      arch/arm/mach-sa1100/assabet.c: In function 'fixup_assabet':
      arch/arm/mach-sa1100/assabet.c:397:6: warning: 'scr' may be used uninitialized in this function [-Wuninitialized]
      arch/arm/mach-sa1100/assabet.c:389:16: note: 'scr' was declared here
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      c6e9fbbf
  14. 19 9月, 2012 1 次提交
  15. 14 9月, 2012 1 次提交
  16. 09 8月, 2012 1 次提交
    • A
      ARM: sa1100: include linux/io.h in hackkit leds code · 9c97738c
      Arnd Bergmann 提交于
      The sa1100 definition of the io_p2v macro has changed in v3.6, and this one
      file stopped working because of that.
      
      Without this patch, building hackkit_defconfig results in:
      
      arch/arm/mach-sa1100/leds-hackkit.c: In function 'hackkit_leds_event':
      arch/arm/mach-sa1100/leds-hackkit.c:39:4: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      9c97738c
  17. 01 8月, 2012 1 次提交
  18. 10 7月, 2012 2 次提交
    • W
      ARM: 7452/1: delay: allow timer-based delay implementation to be selected · d0a533b1
      Will Deacon 提交于
      This patch allows a timer-based delay implementation to be selected by
      switching the delay routines over to use get_cycles, which is
      implemented in terms of read_current_timer. This further allows us to
      skip the loop calibration and have a consistent delay function in the
      face of core frequency scaling.
      
      To avoid the pain of dealing with memory-mapped counters, this
      implementation uses the co-processor interface to the architected timers
      when they are available. The previous loop-based implementation is
      kept around for CPUs without the architected timers and we retain both
      the maximum delay (2ms) and the corresponding conversion factors for
      determining the number of loops required for a given interval. Since the
      indirection of the timer routines will only work when called from C,
      the sa1100 sleep routines are modified to branch to the loop-based delay
      functions directly.
      Tested-by: NShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
      Reviewed-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d0a533b1
    • R
      ARM: sa11x0/pxa: convert OS timer registers to IOMEM · 3169663a
      Russell King 提交于
      Make the OS timer registers have IOMEM like properities so they can
      be passed to readl_relaxed/writel_relaxed() et.al. rather than being
      straight volatile dereferences.  Add linux/io.h includes where
      required.
      
      linux/io.h includes added to arch/arm/mach-sa1100/cpu-sa1100.c,
       arch/arm/mach-sa1100/jornada720_ssp.c, arch/arm/mach-sa1100/leds-lart.c
       drivers/input/touchscreen/jornada720_ts.c, drivers/pcmcia/sa1100_shannon.c
      from Arnd.
      
      This fixes these warnings:
      
      arch/arm/mach-sa1100/time.c: In function 'sa1100_timer_init':
      arch/arm/mach-sa1100/time.c:104: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      arch/arm/mach-pxa/time.c: In function 'pxa_timer_init':
      arch/arm/mach-pxa/time.c:126: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3169663a
  19. 25 6月, 2012 2 次提交
  20. 25 5月, 2012 1 次提交
  21. 14 5月, 2012 1 次提交
  22. 08 5月, 2012 1 次提交
  23. 27 4月, 2012 1 次提交
  24. 03 4月, 2012 1 次提交
  25. 29 3月, 2012 1 次提交
  26. 26 3月, 2012 4 次提交
  27. 24 3月, 2012 2 次提交
  28. 07 3月, 2012 2 次提交
  29. 28 2月, 2012 2 次提交
  30. 24 2月, 2012 2 次提交