Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299105
b: refs/heads/master
c: be0775a
h: refs/heads/master
i:
  299103: 60e18ed
v: v3
  • Loading branch information
Rob Clark authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 691893b commit 84ad7de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4477e90b3ea4c40466e8f418cf41a17aef09192
refs/heads/master: be0775ac140dd80a1d60fb7e71ec60e649c14ff8
7 changes: 4 additions & 3 deletions trunk/drivers/staging/omapdrm/omap_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 84ad7de

Please sign in to comment.