Browse Source

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>
Geert Uytterhoeven 12 years ago
parent
commit
6fafecb90c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/usbip/vhci_hcd.c

+ 1 - 1
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,