lkml.org 
[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] leds: add MODULE_ALIAS("platform:leds-gpio") for leds-gpio
    Date
    This allows leds-gpio to be automatically loaded by udev.
    589499c04b9929ce3de9a9cc591f8a24cf1ebc91 has a more verbose
    description (for ixp4xx-beeper though).

    Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
    ---
    drivers/leds/leds-gpio.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
    index 4c0b058..1aae8b3 100644
    --- a/drivers/leds/leds-gpio.c
    +++ b/drivers/leds/leds-gpio.c
    @@ -199,3 +199,4 @@ module_exit(gpio_led_exit);
    MODULE_AUTHOR("Raphael Assenat <raph@8d.com>");
    MODULE_DESCRIPTION("GPIO LED driver");
    MODULE_LICENSE("GPL");
    +MODULE_ALIAS("platform:leds-gpio");
    --
    1.5.4.5
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-04-09 10:49    [W:0.023 / U:60.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site