diff options
-rw-r--r-- | drivers/pcmcia/m8xx_pcmcia.c | 2 | ||||
-rw-r--r-- | include/linux/of_platform.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c index 3c45142c40b2..b01985498460 100644 --- a/drivers/pcmcia/m8xx_pcmcia.c +++ b/drivers/pcmcia/m8xx_pcmcia.c | |||
@@ -1316,7 +1316,7 @@ static struct of_device_id m8xx_pcmcia_match[] = { | |||
1316 | MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); | 1316 | MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); |
1317 | 1317 | ||
1318 | static struct of_platform_driver m8xx_pcmcia_driver = { | 1318 | static struct of_platform_driver m8xx_pcmcia_driver = { |
1319 | .name = (char *)driver_name, | 1319 | .name = driver_name, |
1320 | .match_table = m8xx_pcmcia_match, | 1320 | .match_table = m8xx_pcmcia_match, |
1321 | .probe = m8xx_probe, | 1321 | .probe = m8xx_probe, |
1322 | .remove = m8xx_remove, | 1322 | .remove = m8xx_remove, |
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index 5fd44e63fb26..22c3837784b2 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h | |||
@@ -31,7 +31,7 @@ extern struct bus_type of_platform_bus_type; | |||
31 | */ | 31 | */ |
32 | struct of_platform_driver | 32 | struct of_platform_driver |
33 | { | 33 | { |
34 | char *name; | 34 | const char *name; |
35 | struct of_device_id *match_table; | 35 | struct of_device_id *match_table; |
36 | struct module *owner; | 36 | struct module *owner; |
37 | 37 | ||