mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section
@ 2006-09-05 19:55 İsmail Dönmez
  0 siblings, 0 replies; only message in thread
From: İsmail Dönmez @ 2006-09-05 19:55 UTC (permalink / raw)
  To: linux-atm-general; +Cc: David Woodhouse, linux-kernel

[-- 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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-05 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-05 19:55 [PATCH] Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section İsmail Dönmez

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