|
@@ -803,9 +803,6 @@ static void pdev_shutdown(struct platform_device *device)
|
|
|
static int pdev_probe(struct platform_device *device)
|
|
|
{
|
|
|
DBG("%s", device->name);
|
|
|
- if (platform_driver_register(&omap_dmm_driver))
|
|
|
- dev_err(&device->dev, "DMM registration failed\n");
|
|
|
-
|
|
|
return drm_platform_init(&omap_drm_driver, device);
|
|
|
}
|
|
|
|
|
@@ -833,6 +830,10 @@ struct platform_driver pdev = {
|
|
|
static int __init omap_drm_init(void)
|
|
|
{
|
|
|
DBG("init");
|
|
|
+ if (platform_driver_register(&omap_dmm_driver)) {
|
|
|
+ /* we can continue on without DMM.. so not fatal */
|
|
|
+ dev_err(NULL, "DMM registration failed\n");
|
|
|
+ }
|
|
|
return platform_driver_register(&pdev);
|
|
|
}
|
|
|
|