[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1IgSxy-0003pj-Ik@Chamillionaire.breakpoint.cc>
Date: Sat, 13 Oct 2007 00:25:15 +0200
From: Sebastian Siewior <sebastian@...akpoint.cc>
To: linux-kernel@...r.kernel.org
Cc: Pierre Ossman <drzeus@...eus.cx>
Subject: [PATCH] [mmc] fix compile without LED Triggers
drivers/mmc/core/host.c: In function 'mmc_remove_host':
drivers/mmc/core/host.c:146: error: implicit declaration of function 'led_trigger_unregister'
drivers/mmc/core/host.c:146: error: 'struct mmc_host' has no member named 'led'
Signed-off-by: Sebastian Siewior <sebastian@...akpoint.cc>
---
include/linux/leds.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/leds.h b/include/linux/leds.h
index dc1178f..24c4830 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -98,6 +98,7 @@ extern void led_trigger_event(struct led_trigger *trigger,
#define DEFINE_LED_TRIGGER_GLOBAL(x)
#define led_trigger_register_simple(x, y) do {} while(0)
#define led_trigger_unregister_simple(x) do {} while(0)
+#define led_trigger_unregister(x) do {} while(0)
#define led_trigger_event(x, y) do {} while(0)
#endif
--
1.5.3.4
-
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