Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 630d9c47 authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

fs: reduce the use of module.h wherever possible



For files only using THIS_MODULE and/or EXPORT_SYMBOL, map
them onto including export.h -- or if the file isn't even
using those, then just delete the include.  Fix up any implicit
include dependencies that were being masked by module.h along
the way.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 13ae246d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/aio_abi.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/syscalls.h>
#include <linux/backing-dev.h>
#include <linux/uio.h>
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 *  changes by Thomas Schoebel-Theuer
 */

#include <linux/module.h>
#include <linux/export.h>
#include <linux/time.h>
#include <linux/mm.h>
#include <linux/string.h>
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
 */

#include <linux/fs.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/stat.h>
#include <linux/time.h>
#include <linux/namei.h>
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 *	JAN/99 -- coded full program relocation (gerg@snapgear.com)
 */

#include <linux/module.h>
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/mempool.h>
#include <linux/workqueue.h>
#include <scsi/sg.h>		/* for struct sg_iovec */
Loading