18 May, 2009

1 commit

  • Move all the gpio functions out of as
    this file is for defining the generic IO base addresses
    for the kernel IO calls.

    Make a new header to take this and
    include it via the chain from which is
    what most of these files should be using (and will be
    changed as soon as possible).

    Note, this does make minor changes to some drivers but
    should not mess up any pending merges.

    CC: Richard Purdie
    Acked-by: Mark Brown
    CC: David Brownell
    Signed-off-by: Ben Dooks

    Ben Dooks
     

06 Apr, 2009

1 commit

  • A pointer to h1940leds_probe is passed to the core via
    platform_driver_register and so the function must not disappear when the
    .init sections are discarded. Otherwise (if also having HOTPLUG=y)
    unbinding and binding a device to the driver via sysfs will result in an
    oops as does a device being registered late.

    An alternative to this patch is using platform_driver_probe instead of
    platform_driver_register plus removing the pointer to the probe function
    from the struct platform_driver.

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Richard Purdie

    Uwe Kleine-König
     

07 Aug, 2008

2 commits


23 Jul, 2008

1 commit

  • Fixes the following sparse errors:
    drivers/leds/leds-h1940.c:26:6: warning: symbol 'h1940_greenled_set' was not declared. Should it be static?
    drivers/leds/leds-h1940.c:55:6: warning: symbol 'h1940_redled_set' was not declared. Should it be static?
    drivers/leds/leds-h1940.c:85:6: warning: symbol 'h1940_blueled_set' was not declared. Should it be static?

    Signed-off-by: Ben Dooks
    Signed-off-by: Richard Purdie

    Ben Dooks