19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

29 Nov, 2012

1 commit


12 Oct, 2012

1 commit

  • The sharpsl_pcmcia_ops structure gets passed into
    sa11xx_drv_pcmcia_probe, where it gets accessed at run-time,
    unlike all other pcmcia drivers that pass their structures
    into platform_device_add_data, which makes a copy.

    This means the gcc warning is valid and the structure
    must not be marked as __initdata.

    Without this patch, building collie_defconfig results in:

    drivers/pcmcia/pxa2xx_sharpsl.c:22:31: fatal error: mach-pxa/hardware.h: No such file or directory
    compilation terminated.
    make[3]: *** [drivers/pcmcia/pxa2xx_sharpsl.o] Error 1
    make[2]: *** [drivers/pcmcia] Error 2
    make[1]: *** [drivers] Error 2
    make: *** [sub-make] Error 2

    Signed-off-by: Arnd Bergmann
    Cc: Dominik Brodowski
    Cc: Russell King
    Cc: Pavel Machek
    Cc: linux-pcmcia@lists.infradead.org
    Cc: Jochen Friedrich
    Cc: stable@vger.kernel.org

    Arnd Bergmann
     

04 Feb, 2012

1 commit


11 Jul, 2011

1 commit


10 Nov, 2010

1 commit

  • These are called by sa11x0_drv_pcmcia_probe (which is marked now with
    __devinit) so they can go to .devinit.text now, too.

    This fixes:

    WARNING: drivers/pcmcia/sa1100_cs.o(.text+0x10): Section mismatch in reference from the function sa11x0_drv_pcmcia_probe() to the function .init.text:pcmcia_simpad_init()
    The function sa11x0_drv_pcmcia_probe() references
    the function __init pcmcia_simpad_init().
    This is often because sa11x0_drv_pcmcia_probe lacks a __init
    annotation or the annotation of pcmcia_simpad_init is wrong.

    and a similar warning for pcmcia_collie_init, pcmcia_cerf_init,
    pcmcia_h3600_init and pcmcia_shannon_init.

    While at it mark pcmcia_assabet_init with __devinit, too.

    Signed-off-by: Uwe Kleine-König
    CC: Russell King
    CC: Eric Miao
    CC: linux-arm-kernel@lists.infradead.org
    Signed-off-by: Dominik Brodowski

    Uwe Kleine-König
     

09 Nov, 2009

1 commit