]> err.no Git - linux-2.6/commit
[PATCH] pull in necessary header files for cdev.h
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Thu, 7 Dec 2006 04:36:14 +0000 (20:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:32 +0000 (08:39 -0800)
commit5ec68b2e310437e99c297ba04e1afc5297aa6de1
tree6c2341e76c4c2a06539bdcdc680df66c4d23996d
parent9a2239b1174bdf0952a21ed328cd74240d2dd173
[PATCH] pull in necessary header files for cdev.h

linux/cdev.h uses struct kobject and other structs and should therefore
include them.  Currently, a module either needs to add the missing includes
itself, or, in case a module includes other headers already, needs to put
<linux/cdev.h> last, which goes against a alphabetically-sorted include
list.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/cdev.h