lkml.org 
[lkml]   [2012]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] regmap: delete unused module.h from drivers/base/regmap files
    Date
    Remove unused module.h and/or replace with export.h
    as required.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

    diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
    index 6f39747..890f554c 100644
    --- a/drivers/base/regmap/regmap-debugfs.c
    +++ b/drivers/base/regmap/regmap-debugfs.c
    @@ -11,7 +11,6 @@
    */

    #include <linux/slab.h>
    -#include <linux/module.h>
    #include <linux/mutex.h>
    #include <linux/debugfs.h>
    #include <linux/uaccess.h>
    diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
    index 6555803..e4fbeaa 100644
    --- a/drivers/base/regmap/regmap.c
    +++ b/drivers/base/regmap/regmap.c
    @@ -11,7 +11,7 @@
    */

    #include <linux/slab.h>
    -#include <linux/module.h>
    +#include <linux/export.h>
    #include <linux/mutex.h>
    #include <linux/err.h>

    --
    1.7.9.1


    \
     
     \ /
      Last update: 2012-02-29 01:31    [W:0.017 / U:1.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site