diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-12 23:07:21 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 03:30:33 +0400 |
commit | 6fafecb90c9ed2cca8ed450fed693095c0160dc2 (patch) | |
tree | 3e9e5527c1bb9ae9e78dbf8d07455887776d3738 /drivers/staging/usbip | |
parent | 782872bf7a86d17a1fade8353479151b3b2fcf15 (diff) | |
download | linux-6fafecb90c9ed2cca8ed450fed693095c0160dc2.tar.xz |
staging: usbip: Remove superfluous name cast
platform_device.name is "const char *"
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r-- | drivers/staging/usbip/vhci_hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 64cace681cee..aa22c631191c 100644 --- a/drivers/staging/usbip/vhci_hcd.c +++ b/drivers/staging/usbip/vhci_hcd.c @@ -1124,7 +1124,7 @@ static void the_pdev_release(struct device *dev) static struct platform_device the_pdev = { /* should be the same name as driver_name */ - .name = (char *) driver_name, + .name = driver_name, .id = -1, .dev = { .release = the_pdev_release, |