]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Move linux/device.h include in linux/atmdev.h to #ifdef __KERNEL__ section
authorIsmail Donmez <ismail@pardus.org.tr>
Wed, 6 Sep 2006 07:03:44 +0000 (00:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Sep 2006 18:00:02 +0000 (11:00 -0700)
commit4067d8d2a5a94fe20bf626b07ac7a8e612c2ad22
treef642ce106f26e5ff13d6994555425a084f906b56
parent43feb7693963dc9309d3e337f24ddf1572c34bc7
[PATCH] 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.  Attached patch moves
linux/device.h include under the #ifdef __KERNEL__ section.

Signed-off-by: Ismail Donmez <ismail@pardus.org.tr>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/atmdev.h