Skip to contentSkip to conversation

tidspbridge: bind driver name to device name

PATCH New Omar Ramirez Luna 1 participant 1 message Oct 7, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tidspbridge: bind driver name to device name

Since the device name has changed use the new name to bind the driver to it.

---
 drivers/staging/tidspbridge/rmgr/drv_interface.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/staging/tidspbridge/rmgr/drv_interface.c +1 -2
index 63052b0..1981e46 100644
@@ -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),
Signature · 1 line
1.7.1