|
@@ -333,7 +333,7 @@ static int omap2430_musb_exit(struct musb *musb)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-const struct musb_platform_ops musb_ops = {
|
|
|
+static const struct musb_platform_ops omap2430_ops = {
|
|
|
.init = omap2430_musb_init,
|
|
|
.exit = omap2430_musb_exit,
|
|
|
|
|
@@ -378,6 +378,8 @@ static int __init omap2430_probe(struct platform_device *pdev)
|
|
|
glue->dev = &pdev->dev;
|
|
|
glue->musb = musb;
|
|
|
|
|
|
+ pdata->platform_ops = &omap2430_ops;
|
|
|
+
|
|
|
platform_set_drvdata(pdev, glue);
|
|
|
|
|
|
ret = platform_device_add_resources(musb, pdev->resource,
|