Geert Uytterhoeven
2013-11-13 09:30:13 UTC
device_driver.name is "const char *"
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
---
drivers/usb/host/ohs900-hcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohs900-hcd.c b/drivers/usb/host/ohs900-hcd.c
index 2b6992eeaead..fbc88378446d 100644
--- a/drivers/usb/host/ohs900-hcd.c
+++ b/drivers/usb/host/ohs900-hcd.c
@@ -1790,10 +1790,10 @@ struct platform_driver ohs900h_driver = {
.suspend = ohs900h_suspend,
.resume = ohs900h_resume,
.driver = {
- .name = (char *)hcd_name,
+ .name = hcd_name,
.owner = THIS_MODULE,
.of_match_table = ocores_ohs900_match,
- },
+ },
};
/*-------------------------------------------------------------------------*/
Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
---
drivers/usb/host/ohs900-hcd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohs900-hcd.c b/drivers/usb/host/ohs900-hcd.c
index 2b6992eeaead..fbc88378446d 100644
--- a/drivers/usb/host/ohs900-hcd.c
+++ b/drivers/usb/host/ohs900-hcd.c
@@ -1790,10 +1790,10 @@ struct platform_driver ohs900h_driver = {
.suspend = ohs900h_suspend,
.resume = ohs900h_resume,
.driver = {
- .name = (char *)hcd_name,
+ .name = hcd_name,
.owner = THIS_MODULE,
.of_match_table = ocores_ohs900_match,
- },
+ },
};
/*-------------------------------------------------------------------------*/
--
1.7.9.5
1.7.9.5