Message ID | 20220214124735.25580-3-peng.fan@oss.nxp.com |
---|---|
State | Superseded |
Delegated to: | Stefano Babic |
Headers | show |
Series | imx: imx8ulp: misc update from downstream | expand |
On Mon, Feb 14, 2022 at 9:08 AM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote: > > From: Peng Fan <peng.fan@nxp.com> > > Only including clock.h could simplify header files. Sorry, I don't understand this commit log. > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > arch/arm/include/asm/arch-imx8ulp/clock.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/include/asm/arch-imx8ulp/clock.h b/arch/arm/include/asm/arch-imx8ulp/clock.h > index c0f32cc087..d7c92f7058 100644 > --- a/arch/arm/include/asm/arch-imx8ulp/clock.h > +++ b/arch/arm/include/asm/arch-imx8ulp/clock.h > @@ -6,6 +6,9 @@ > #ifndef _ASM_ARCH_IMX8ULP_CLOCK_H > #define _ASM_ARCH_IMX8ULP_CLOCK_H > > +#include <asm/arch/pcc.h> > +#include <asm/arch/cgc.h> Please explain why you need to include these two header files.
On 2022/2/26 21:34, Fabio Estevam wrote: > On Mon, Feb 14, 2022 at 9:08 AM Peng Fan (OSS) <peng.fan@oss.nxp.com> wrote: >> >> From: Peng Fan <peng.fan@nxp.com> >> >> Only including clock.h could simplify header files. > > Sorry, I don't understand this commit log. > >> Signed-off-by: Peng Fan <peng.fan@nxp.com> >> --- >> arch/arm/include/asm/arch-imx8ulp/clock.h | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/arch/arm/include/asm/arch-imx8ulp/clock.h b/arch/arm/include/asm/arch-imx8ulp/clock.h >> index c0f32cc087..d7c92f7058 100644 >> --- a/arch/arm/include/asm/arch-imx8ulp/clock.h >> +++ b/arch/arm/include/asm/arch-imx8ulp/clock.h >> @@ -6,6 +6,9 @@ >> #ifndef _ASM_ARCH_IMX8ULP_CLOCK_H >> #define _ASM_ARCH_IMX8ULP_CLOCK_H >> >> +#include <asm/arch/pcc.h> >> +#include <asm/arch/cgc.h> > > Please explain why you need to include these two header files. No need to include pcc/cgc header file both for users, only need include clock.h Thanks, Peng. >
diff --git a/arch/arm/include/asm/arch-imx8ulp/clock.h b/arch/arm/include/asm/arch-imx8ulp/clock.h index c0f32cc087..d7c92f7058 100644 --- a/arch/arm/include/asm/arch-imx8ulp/clock.h +++ b/arch/arm/include/asm/arch-imx8ulp/clock.h @@ -6,6 +6,9 @@ #ifndef _ASM_ARCH_IMX8ULP_CLOCK_H #define _ASM_ARCH_IMX8ULP_CLOCK_H +#include <asm/arch/pcc.h> +#include <asm/arch/cgc.h> + /* Mainly for compatible to imx common code. */ enum mxc_clock { MXC_ARM_CLK = 0,