Messages in this thread | | | Subject | Re: [PATCH] make leds.h include relevant headers | From | Richard Purdie <> | Date | Fri, 11 Aug 2006 09:32:14 +0100 |
| |
On Fri, 2006-08-11 at 09:50 +0200, Johannes Berg wrote: > 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> Acked-by: Richard Purdie <rpurdie@rpsys.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; > /* > >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |