powerpc/machdep: Make machine name const

Machine name in struct machdep_calls should never be modified.

Mark it const.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/6cb9865d916231c38401ba34ad1a98c249fae135.1676711562.git.christophe.leroy@csgroup.eu
This commit is contained in:
Christophe Leroy 2023-02-18 10:15:44 +01:00 committed by Michael Ellerman
parent a11334d832
commit 35e175bdd5

View File

@ -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);