Re: [PATCH 3/3] proc_devtree: Replace include linux/module.h with linux/export.h

From: Syam Sidhardhan
Date: Thu Feb 14 2013 - 15:54:41 EST


Hi,

On Tue, Nov 13, 2012 at 9:48 PM, Syam Sidhardhan <syamsidhardh@xxxxxxxxx> wrote:
> Since it uses only THIS_MODULE macro, include <linux/export.h>
> is the right to go here.
>
> Signed-off-by: Syam Sidhardhan <s.syam@xxxxxxxxxxx>
> ---
> fs/proc/proc_devtree.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c
> index df7dd08..0e9df31 100644
> --- a/fs/proc/proc_devtree.c
> +++ b/fs/proc/proc_devtree.c
> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/