DORMANTno replies

[PATCH 1/2][ATM]: Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section

From: chas williams - CONTRACTOR <hidden>
Date: 2006-09-07 21:59:00
Subsystem: atm, the rest · Maintainers: Chas Williams, Linus Torvalds

please consider for 2.6.19 -- thanks!

[ATM]: Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section

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.

Signed-off-by: Ismail Donmez <redacted>
Signed-off-by: Chas Williams <redacted>

---
commit 0293994f3f7a3a4bc4db6e286473e9b422b8f582
tree b8b24f8e3025e23dbeb61dc101ca1f35f8efaf8e
parent 837a0955d484497fc6b0b1991d9cf77fb74f15e8
author chas williams [off-list ref] Thu, 07 Sep 2006 15:14:26 -0400
committer chas williams [off-list ref] Thu, 07 Sep 2006 15:14:26 -0400

 include/linux/atmdev.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help