[PATCH] regulator: include suspend.h in machine.h for suspend_state_t - Kernel

This is a discussion on [PATCH] regulator: include suspend.h in machine.h for suspend_state_t - Kernel ; linux/regulator/machine.h shouldn't depend on files including this header to have included linux/suspend.h before. Signed-off-by: Philipp Zabel --- include/linux/regulator/machine.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h index 60e6873..bed2b5e 100644 --- a/include/linux/regulator/machine.h +++ b/include/linux/regulator/machine.h @@ ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] regulator: include suspend.h in machine.h for suspend_state_t

  1. [PATCH] regulator: include suspend.h in machine.h for suspend_state_t

    linux/regulator/machine.h shouldn't depend on files including this
    header to have included linux/suspend.h before.

    Signed-off-by: Philipp Zabel
    ---
    include/linux/regulator/machine.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
    index 60e6873..bed2b5e 100644
    --- a/include/linux/regulator/machine.h
    +++ b/include/linux/regulator/machine.h
    @@ -16,6 +16,7 @@
    #define __LINUX_REGULATOR_MACHINE_H_

    #include
    +#include

    struct regulator;

    --
    1.5.6.2


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] regulator: include suspend.h in machine.h for suspend_state_t

    On Fri, 2008-07-11 at 17:28 +0200, Philipp Zabel wrote:
    > linux/regulator/machine.h shouldn't depend on files including this
    > header to have included linux/suspend.h before.
    >
    > Signed-off-by: Philipp Zabel
    > ---
    > include/linux/regulator/machine.h | 1 +
    > 1 files changed, 1 insertions(+), 0 deletions(-)
    >
    > diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
    > index 60e6873..bed2b5e 100644
    > --- a/include/linux/regulator/machine.h
    > +++ b/include/linux/regulator/machine.h
    > @@ -16,6 +16,7 @@
    > #define __LINUX_REGULATOR_MACHINE_H_
    >
    > #include
    > +#include
    >
    > struct regulator;
    >


    Applied.

    Thanks

    Liam

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread