lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 16/36] pinctrl: npcm7xx: Add missed header(s)
    Date
    Do not imply that some of the generic headers may be always included.
    Instead, include explicitly what we are direct user of.

    While at it, sort headers alphabetically.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    ---
    drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 11 +++++++----
    1 file changed, 7 insertions(+), 4 deletions(-)

    diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
    index 1c4e89b046de..ff5bcea172e8 100644
    --- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
    +++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
    @@ -11,14 +11,17 @@
    #include <linux/of.h>
    #include <linux/of_address.h>
    #include <linux/of_irq.h>
    +#include <linux/platform_device.h>
    +#include <linux/property.h>
    +#include <linux/regmap.h>
    +#include <linux/seq_file.h>
    +
    +#include <linux/pinctrl/consumer.h>
    #include <linux/pinctrl/machine.h>
    -#include <linux/pinctrl/pinconf.h>
    #include <linux/pinctrl/pinconf-generic.h>
    +#include <linux/pinctrl/pinconf.h>
    #include <linux/pinctrl/pinctrl.h>
    #include <linux/pinctrl/pinmux.h>
    -#include <linux/platform_device.h>
    -#include <linux/property.h>
    -#include <linux/regmap.h>

    /* GCR registers */
    #define NPCM7XX_GCR_PDID 0x00
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-10-10 22:22    [W:4.121 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site