From: Paul Gortmaker Date: Mon, 29 Aug 2011 14:52:50 +0000 (-0400) Subject: miscdevice.h: delete unnecessary inclusion of module.h X-Git-Tag: MMI-PSA29.97-13-9~18087^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddac6021fcc1768218c8b0453705801628289ba8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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 #include /*