staging: tidspbridge: bind driver name to device name
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Thu, 7 Oct 2010 05:45:10 +0000 (00:45 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 17:09:49 +0000 (10:09 -0700)
Since the device name has changed use the new name to
bind the driver to it.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/rmgr/drv_interface.c

index 63052b0..1981e46 100644 (file)
@@ -66,7 +66,6 @@
 #include <mach-omap2/omap3-opp.h>
 #endif
 
-#define BRIDGE_NAME "C6410"
 /*  ----------------------------------- Globals */
 #define DRIVER_NAME  "DspBridge"
 #define DSPBRIDGE_VERSION      "0.3"
@@ -465,7 +464,7 @@ static int BRIDGE_RESUME(struct platform_device *pdev)
 
 static struct platform_driver bridge_driver = {
        .driver = {
-                  .name = BRIDGE_NAME,
+                  .name = "omap-dsp",
                   },
        .probe = omap34_xx_bridge_probe,
        .remove = __devexit_p(omap34_xx_bridge_remove),