summaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorPaul Gortmaker2011-08-29 16:52:50 +0200
committerPaul Gortmaker2011-11-01 00:32:26 +0100
commitddac6021fcc1768218c8b0453705801628289ba8 (patch)
tree578eb09c5c5ade10f00f6ad42f4eb6cc180d30c7 /include/linux/miscdevice.h
parentdevice_cgroup.h: delete needless include <linux/module.h> (diff)
downloadkernel-qcow2-linux-ddac6021fcc1768218c8b0453705801628289ba8.tar.gz
kernel-qcow2-linux-ddac6021fcc1768218c8b0453705801628289ba8.tar.xz
kernel-qcow2-linux-ddac6021fcc1768218c8b0453705801628289ba8.zip
miscdevice.h: delete unnecessary inclusion of module.h
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>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index c309b1ecdc1c..8526e91d764f 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -1,6 +1,5 @@
#ifndef _LINUX_MISCDEVICE_H
#define _LINUX_MISCDEVICE_H
-#include <linux/module.h>
#include <linux/major.h>
/*