[PATCH] make leds.h include relevant headers

From: Johannes Berg
Date: Fri Aug 11 2006 - 03:48:50 EST

Here's something I noticed recently when writing a small led trigger...
Richard, does this look OK to you? If so, can you send it on? I don't
know through what path these things should go in.
Hopefully thunderbird doesn't mangle it...


This patch makes it possible to include linux/leds.h without first
including list.h and spinlock.h.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

--- wireless-dev.orig/include/linux/leds.h 2006-08-10 19:59:13.419652863 +0200
+++ wireless-dev/include/linux/leds.h 2006-08-10 20:02:14.979652863 +0200
@@ -12,6 +12,9 @@

+#include <linux/list.h>
+#include <linux/spinlock.h>
struct device;
struct class_device;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/