Message ID | 1524063498-2752-1-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Accepted |
Commit | a3daeedad3828cea21a50b02866ec62d98ad90ea |
Delegated to: | Simon Horman |
Headers | show |
On Wed, Apr 18, 2018 at 04:58:18PM +0200, Geert Uytterhoeven wrote: > Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c: > - Remove unused inclusion of <linux/sys_soc.h>, > - Make r8a77995_areas[] const. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, applied.
diff --git a/drivers/soc/renesas/r8a77995-sysc.c b/drivers/soc/renesas/r8a77995-sysc.c index f718429cab02393d..1b2ef415bbe1cbf7 100644 --- a/drivers/soc/renesas/r8a77995-sysc.c +++ b/drivers/soc/renesas/r8a77995-sysc.c @@ -10,13 +10,12 @@ #include <linux/bug.h> #include <linux/kernel.h> -#include <linux/sys_soc.h> #include <dt-bindings/power/r8a77995-sysc.h> #include "rcar-sysc.h" -static struct rcar_sysc_area r8a77995_areas[] __initdata = { +static const struct rcar_sysc_area r8a77995_areas[] __initconst = { { "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, { "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON, PD_SCU },
Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c: - Remove unused inclusion of <linux/sys_soc.h>, - Make r8a77995_areas[] const. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/soc/renesas/r8a77995-sysc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)