]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
miscdevice.h: delete unrequired 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>
Thu, 6 Oct 2011 18:10:18 +0000 (14:10 -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 94af9b0337d979cb444c775320e2febdb80d57a4..c41d7270c6c6e681eae994ce60b5b9b013c6492c 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef _LINUX_MISCDEVICE_H
 #define _LINUX_MISCDEVICE_H
-#include <linux/module.h>
 #include <linux/major.h>
 #include <linux/list.h>
 #include <linux/types.h>