Parcourir la source

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>
Paul Gortmaker il y a 14 ans
Parent
commit
ddac6021fc
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      include/linux/miscdevice.h

+ 0 - 1
include/linux/miscdevice.h

@@ -1,6 +1,5 @@
 #ifndef _LINUX_MISCDEVICE_H
 #ifndef _LINUX_MISCDEVICE_H
 #define _LINUX_MISCDEVICE_H
 #define _LINUX_MISCDEVICE_H
-#include <linux/module.h>
 #include <linux/major.h>
 #include <linux/major.h>
 
 
 /*
 /*