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


24 Apr, 2009

1 commit


07 Aug, 2008

2 commits


02 Jun, 2008

1 commit


13 Oct, 2007

1 commit

  • Prefix platform modalias strings with "platform:", which
    modprobe config to blacklist alias resolving if userspace
    configures it.

    Send uevents for all platform devices.

    Add MODULE_ALIAS's to: pxa2xx_pcmcia, ds1742 and pcspkr to trigger
    module autoloading by userspace.

    $ modinfo pcspkr
    alias: platform:pcspkr
    license: GPL
    description: PC Speaker beeper driver
    ...

    $ modprobe -n -v platform:pcspkr
    insmod /lib/modules/2.6.23-rc3-g28e8351a-dirty/kernel/drivers/input/misc/pcspkr.ko

    Signed-off-by: Kay Sievers
    Cc: David Brownell
    Cc: Atsushi Nemoto
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

09 May, 2007

1 commit

  • We've had various reports of some legacy "probe the hardware" style
    platform drivers having nasty problems with hotplug support.

    The core issue is that those legacy drivers don't fully conform to the
    driver model. They assume a role that should be the responsibility of
    infrastructure code: creating device nodes.

    The "modprobe" step in hotplugging relies on drivers to have split those
    roles into different modules. The lack of this split causes the problems.
    When a driver creates nodes for devices that don't exist (sending a hotplug
    event), then exits (aborting one modprobe) before the "modprobe $MODALIAS"
    step completes (by failing, since it's in the middle of a modprobe), the
    result can be an endless loop of modprobe invocations ... badness.

    This fix uses the newish per-device flag controlling issuance of "add"
    events. (A previous version of this patch used a per-device "driver can
    hotplug" flag, which only scrubbed $MODALIAS from the environment rather
    than suppressing the entire hotplug event.) It also shrinks that flag to
    one bit, saving a word in "struct device".

    So the net of this patch is removing some nasty failures with legacy
    drivers, while retaining hotplug capability for the majority of platform
    drivers.

    Signed-off-by: David Brownell
    Cc: Greg KH
    Cc: Andres Salomon
    Cc: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

19 Apr, 2006

1 commit


11 Jan, 2006

1 commit


07 Jan, 2006

1 commit


06 Jan, 2006

2 commits


09 Nov, 2005

1 commit

  • Patch from Richard Purdie

    The Sharp SL-Cxx00 models have a combined power control for the SD
    and CF slot 0. This patch adds hooks to the scoop driver to allow
    machines to provide a custom control function for this and such a
    function is added for spitz/akita/borzoi.

    It also moves the gpio init code into the machine files as this
    is machine dependent and differs between some models. A couple of
    warnings when compiling for collie are also fixed.

    Signed-off-by: Richard Purdie
    Signed-off-by: Russell King

    Richard Purdie
     

31 Oct, 2005

2 commits


30 Oct, 2005

1 commit


06 Sep, 2005

1 commit


04 Sep, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds