login
Header Space

 
 

[PATCH] leds: add MODULE_ALIAS("platform:leds-gpio") for leds-gpio

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Richard Purdie <rpurdie@...>
Cc: <linux-kernel@...>
Date: Wednesday, April 9, 2008 - 4:46 am

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] leds: add MODULE_ALIAS("platform:leds-gpio") for led..., Uwe Kleine-König, (Wed Apr 9, 4:46 am)
speck-geostationary