[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1207730791-31326-1-git-send-email-Uwe.Kleine-Koenig@digi.com>
Date: Wed, 9 Apr 2008 10:46:30 +0200
From: Uwe Kleine-König <Uwe.Kleine-Koenig@...i.com>
To: Richard Purdie <rpurdie@...ys.net>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] leds: add MODULE_ALIAS("platform:leds-gpio") for leds-gpio
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@...i.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@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists