1. 19 11月, 2015 1 次提交
  2. 17 10月, 2015 2 次提交
    • A
      ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode · 54c09889
      Arnd Bergmann 提交于
      The z2 machine calls pxa27x_set_pwrmode() in order to power off
      the machine, but this function gets discarded early at boot because
      it is marked __init, as pointed out by kbuild:
      
      WARNING: vmlinux.o(.text+0x145c4): Section mismatch in reference from the function z2_power_off() to the function .init.text:pxa27x_set_pwrmode()
      The function z2_power_off() references
      the function __init pxa27x_set_pwrmode().
      This is often because z2_power_off lacks a __init
      annotation or the annotation of pxa27x_set_pwrmode is wrong.
      
      This removes the __init section modifier to fix rebooting and the
      build error.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: ba4a90a6 ("ARM: pxa/z2: fix building error of pxa27x_cpu_suspend() no longer available")
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      54c09889
    • U
      ARM: pxa: raumfeld: make some variables static · 4a672bfe
      Uwe Kleine-König 提交于
      This fixes the following sparse warnings:
      
      	arch/arm/mach-pxa/raumfeld.c:510:24: warning: symbol 'raumfeld_w1_gpio_device' was not declared. Should it be static?
      	arch/arm/mach-pxa/raumfeld.c:632:31: warning: symbol 'raumfeld_spi_platform_data' was not declared. Should it be static?
      	arch/arm/mach-pxa/raumfeld.c:851:28: warning: symbol 'audio_va_initdata' was not declared. Should it be static?
      	arch/arm/mach-pxa/raumfeld.c:883:28: warning: symbol 'audio_dummy_initdata' was not declared. Should it be static?
      	arch/arm/mach-pxa/raumfeld.c:931:28: warning: symbol 'max8660_v6_subdev_data' was not declared. Should it be static?
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Acked-by: NDaniel Mack <daniel@zonque.org>
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      4a672bfe
  3. 15 10月, 2015 34 次提交
  4. 14 10月, 2015 1 次提交
    • A
      ARM: pxa: fix pxa3xx DFI lockup hack · 63910745
      Arnd Bergmann 提交于
      Some recently added code to avoid a bug introduced a build error
      when CONFIG_PM is disabled and a macro is hidden:
      
      arch/arm/mach-pxa/pxa3xx.c: In function 'pxa3xx_init':
      arch/arm/mach-pxa/pxa3xx.c:439:3: error: 'NDCR' undeclared (first use in this function)
         NDCR = (NDCR & ~NDCR_ND_ARB_EN) | NDCR_ND_ARB_CNTL;
         ^
      
      This moves the macro outside of the #ifdef so it can be
      referenced correctly.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: adf3442c ("ARM: pxa: fix DFI bus lockups on startup")
      Acked-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      63910745
  5. 07 10月, 2015 2 次提交