Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217319
b: refs/heads/master
c: 41814cf
h: refs/heads/master
i:
  217317: 16bec37
  217315: 71e4fe1
  217311: f43d919
v: v3
  • Loading branch information
Senthilvadivu Guruswamy authored and Tomi Valkeinen committed Oct 22, 2010
1 parent 66fb04c commit 30c67a6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 908482fd833016a365e20c26ea28ceeb00743e64
refs/heads/master: 41814cfc01b059df33011d929837558c22f3c0e0
10 changes: 10 additions & 0 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2198,6 +2198,16 @@ static int omapfb_probe(struct platform_device *pdev)
goto err0;
}

/* TODO : Replace cpu check with omap_has_vrfb once HAS_FEATURE
* available for OMAP2 and OMAP3
*/
if (def_vrfb && !cpu_is_omap24xx() && !cpu_is_omap34xx()) {
def_vrfb = 0;
dev_warn(&pdev->dev, "VRFB is not supported on this hardware, "
"ignoring the module parameter vrfb=y\n");
}


mutex_init(&fbdev->mtx);

fbdev->dev = &pdev->dev;
Expand Down

0 comments on commit 30c67a6

Please sign in to comment.