From 2b16583f97dd2819599550546ab282698bc55a09 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Sun, 22 Jul 2007 00:23:03 +1000 Subject: [PATCH] --- yaml --- r: 62599 b: refs/heads/master c: 8bf8df7120006b8c97ad3a9fcc79e2ba894c46dd h: refs/heads/master i: 62597: b6cb258c6d03630a5ac794d5169794d0deea1d83 62595: 1a32dbce740f143321875f486c8ce266f0e8957f 62591: 8e466cf41769959b7b835966fed27524dd58ed63 v: v3 --- [refs] | 2 +- trunk/drivers/pcmcia/m8xx_pcmcia.c | 2 +- trunk/include/linux/of_platform.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2ba3236d6ce1..8d7b6c06986b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7fd7218610600b16f6f0af3f9d9353ba0265c09f +refs/heads/master: 8bf8df7120006b8c97ad3a9fcc79e2ba894c46dd diff --git a/trunk/drivers/pcmcia/m8xx_pcmcia.c b/trunk/drivers/pcmcia/m8xx_pcmcia.c index 3c45142c40b2..b01985498460 100644 --- a/trunk/drivers/pcmcia/m8xx_pcmcia.c +++ b/trunk/drivers/pcmcia/m8xx_pcmcia.c @@ -1316,7 +1316,7 @@ static struct of_device_id m8xx_pcmcia_match[] = { MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); static struct of_platform_driver m8xx_pcmcia_driver = { - .name = (char *)driver_name, + .name = driver_name, .match_table = m8xx_pcmcia_match, .probe = m8xx_probe, .remove = m8xx_remove, diff --git a/trunk/include/linux/of_platform.h b/trunk/include/linux/of_platform.h index 5fd44e63fb26..22c3837784b2 100644 --- a/trunk/include/linux/of_platform.h +++ b/trunk/include/linux/of_platform.h @@ -31,7 +31,7 @@ extern struct bus_type of_platform_bus_type; */ struct of_platform_driver { - char *name; + const char *name; struct of_device_id *match_table; struct module *owner;