[POWERPC] Constify of_platform_driver name

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by Stephen Rothwell and committed by Paul Mackerras 8bf8df71 7fd72186

+2 -2
+1 -1
drivers/pcmcia/m8xx_pcmcia.c
··· 1316 MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); 1317 1318 static struct of_platform_driver m8xx_pcmcia_driver = { 1319 - .name = (char *)driver_name, 1320 .match_table = m8xx_pcmcia_match, 1321 .probe = m8xx_probe, 1322 .remove = m8xx_remove,
··· 1316 MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); 1317 1318 static struct of_platform_driver m8xx_pcmcia_driver = { 1319 + .name = driver_name, 1320 .match_table = m8xx_pcmcia_match, 1321 .probe = m8xx_probe, 1322 .remove = m8xx_remove,
+1 -1
include/linux/of_platform.h
··· 31 */ 32 struct of_platform_driver 33 { 34 - char *name; 35 struct of_device_id *match_table; 36 struct module *owner; 37
··· 31 */ 32 struct of_platform_driver 33 { 34 + const char *name; 35 struct of_device_id *match_table; 36 struct module *owner; 37