Commit 35e175bd authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc/machdep: Make machine name const

Machine name in struct machdep_calls should never be modified.

Mark it const.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/6cb9865d916231c38401ba34ad1a98c249fae135.1676711562.git.christophe.leroy@csgroup.eu
parent a11334d8
......@@ -20,7 +20,7 @@ struct kimage;
struct pci_host_bridge;
struct machdep_calls {
char *name;
const char *name;
#ifdef CONFIG_PPC64
#ifdef CONFIG_PM
void (*iommu_restore)(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment