miscdevice.h: delete unnecessary inclusion of module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Aug 2011 14:52:50 +0000 (10:52 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:26 +0000 (19:32 -0400)
This file has a define MODULE_ALIAS_MISCDEV which in turn will
use the MODULE_ALIAS define, but only if the former is explicitly
used by modular device driver code (and such code should be
already including module.h).

Delete the include, since module.h is such a giant thing that we
don't want it implicitly sneaking into compiles where it isn't
specifically required.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/miscdevice.h

index c309b1e..8526e91 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef _LINUX_MISCDEVICE_H
 #define _LINUX_MISCDEVICE_H
-#include <linux/module.h>
 #include <linux/major.h>
 
 /*