From: "İsmail Dönmez" <ismail@pardus.org.tr>
To: linux-atm-general@lists.sourceforge.net
Cc: David Woodhouse <dwmw2@infradead.org>, linux-kernel@vger.kernel.org
Subject: [PATCH] Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section
Date: Tue, 5 Sep 2006 22:55:09 +0300 [thread overview]
Message-ID: <200609052255.10004.ismail@pardus.org.tr> (raw)
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
Hi,
linux/device.h header is not included in the David Woodhouse's kernel-headers
git tree which is used for userspace kernel headers. Which results in compile
errors when building iproute2. Attached patch moves linux/device.h include
under the #ifdef __KERNEL__ section. Compile tested on x86. Patch is against
Linus' 2.6 git tree.
Signed-off-by: İsmail Dönmez <ismail@pardus.org.tr>
Regards,
ismail
--
アニメは本当にすごいすぎるよ !
[-- Attachment #2: device-header.patch --]
[-- Type: text/x-diff, Size: 535 bytes --]
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h
index 41788a3..2096e5c 100644
--- a/include/linux/atmdev.h
+++ b/include/linux/atmdev.h
@@ -7,7 +7,6 @@ #ifndef LINUX_ATMDEV_H
#define LINUX_ATMDEV_H
-#include <linux/device.h>
#include <linux/atmapi.h>
#include <linux/atm.h>
#include <linux/atmioc.h>
@@ -210,6 +209,7 @@ #define ATM_VF2TXT_MAP \
#ifdef __KERNEL__
+#include <linux/device.h>
#include <linux/wait.h> /* wait_queue_head_t */
#include <linux/time.h> /* struct timeval */
#include <linux/net.h>
reply other threads:[~2006-09-05 19:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200609052255.10004.ismail@pardus.org.tr \
--to=ismail@pardus.org.tr \
--cc=dwmw2@infradead.org \
--cc=linux-atm-general@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome