Permalink
Browse files

Bug Labs Base battery status led triggers set as defaults for battery…

… leds..

Signed-off-by: Matt Isaacs <haveahennessy@gmail.com>
  • Loading branch information...
1 parent edf5aba commit 6689cc1a1ca86dac015c5741efd398ab64a468e0 @haveahennessy haveahennessy committed Jan 28, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 arch/arm/mach-omap2/board-omap3bug.c
  2. +1 −1 drivers/leds/ledtrig-bqsig.c
@@ -605,14 +605,14 @@ static void __init omap3_bug_init_irq(void)
static struct gpio_led gpio_leds[] = {
{
.name = "omap3bug:green:battery",
- .default_trigger = "none",
+ .default_trigger = "batt-normal",
.gpio = 53,
.active_low = true,
.default_state = LEDS_GPIO_DEFSTATE_OFF,
},
{
.name = "omap3bug:red:battery",
- .default_trigger = "none",
+ .default_trigger = "batt-low",
.gpio = 54,
.active_low = true,
.default_state = LEDS_GPIO_DEFSTATE_OFF,
@@ -219,7 +219,7 @@ static void __exit bug_bqsig_exit(void)
platform_device_unregister(bug_bqsig_dev);
}
-module_init(bug_bqsig_init);
+subsys_initcall(bug_bqsig_init);
module_exit(bug_bqsig_exit);
MODULE_AUTHOR("Dave R");

0 comments on commit 6689cc1

Please sign in to comment.