All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: rpurdie@rpsys.net
Subject: [PATCH] make leds.h include relevant headers
Date: Fri, 11 Aug 2006 09:50:34 +0200	[thread overview]
Message-ID: <44DC36CA.4010908@sipsolutions.net> (raw)

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;
 /*



             reply	other threads:[~2006-08-11  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11  7:50 Johannes Berg [this message]
2006-08-11  8:32 ` [PATCH] make leds.h include relevant headers Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44DC36CA.4010908@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.