All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make leds.h include relevant headers
@ 2006-08-11  7:50 Johannes Berg
  2006-08-11  8:32 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2006-08-11  7:50 UTC (permalink / raw)
  To: Linux Kernel list; +Cc: rpurdie

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@sipsolutions.net>

--- 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 @@
 #ifndef __LINUX_LEDS_H_INCLUDED
 #define __LINUX_LEDS_H_INCLUDED
 
+#include <linux/list.h>
+#include <linux/spinlock.h>
+
 struct device;
 struct class_device;
 /*



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-11  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11  7:50 [PATCH] make leds.h include relevant headers Johannes Berg
2006-08-11  8:32 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.