[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>
This commit is contained in:
parent
7fd7218610
commit
8bf8df7120
|
@ -1316,7 +1316,7 @@ static struct of_device_id m8xx_pcmcia_match[] = {
|
||||||
MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
|
MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
|
||||||
|
|
||||||
static struct of_platform_driver m8xx_pcmcia_driver = {
|
static struct of_platform_driver m8xx_pcmcia_driver = {
|
||||||
.name = (char *)driver_name,
|
.name = driver_name,
|
||||||
.match_table = m8xx_pcmcia_match,
|
.match_table = m8xx_pcmcia_match,
|
||||||
.probe = m8xx_probe,
|
.probe = m8xx_probe,
|
||||||
.remove = m8xx_remove,
|
.remove = m8xx_remove,
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern struct bus_type of_platform_bus_type;
|
||||||
*/
|
*/
|
||||||
struct of_platform_driver
|
struct of_platform_driver
|
||||||
{
|
{
|
||||||
char *name;
|
const char *name;
|
||||||
struct of_device_id *match_table;
|
struct of_device_id *match_table;
|
||||||
struct module *owner;
|
struct module *owner;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue