proc_devtree: Replace include linux/module.h with linux/export.h
Subsystems (2)
PATCH 3/3 proc_devtree: Replace include linux/module.h with linux/export.h
Since it uses only THIS_MODULE macro, include <linux/export.h> is the right to go here.
Signed-off-by Syam Sidhardhan <[email protected]>
--- fs/proc/proc_devtree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/proc/proc_devtree.c +1 -1
@@ -11,7 +11,7 @@#include <linux/stat.h> #include <linux/string.h> #include <linux/of.h> -#include <linux/module.h> +#include <linux/export.h> #include <linux/slab.h> #include <asm/prom.h> #include <asm/uaccess.h>
Signature · 1 line
1.7.4.1
Hi,
Quoted 13 lines · Syam Sidhardhan
Since it uses only
THIS_MODULEmacro, include <linux/export.h> is the right to go here.Signed-off-by Syam Sidhardhan <[email protected]>--- fs/proc/proc_devtree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fs/proc/proc_devtree.c +0
-0
fs/proc/proc_devtree.c line 17
Quoted 8 lines
fs/proc/proc_devtree.c +1
-1@@ -11,7 +11,7 @@#include <linux/stat.h> #include <linux/string.h> #include <linux/of.h> -#include <linux/module.h> +#include <linux/export.h> #include <linux/slab.h> #include <asm/prom.h> #include <asm/uaccess.h>
ping..
Thanks,
Syam.