Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339639
b: refs/heads/master
c: a89d1a8
h: refs/heads/master
i:
  339637: af84250
  339635: 6211526
  339631: c0f6d2f
v: v3
  • Loading branch information
Tomi Valkeinen committed Oct 17, 2012
1 parent 0159159 commit 8d6d4df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: aa1e49a3752f09b3d2ab706f6d48916a04acf557
refs/heads/master: a89d1a87ad80277939c7fcfb8484f0b110d264ef
6 changes: 1 addition & 5 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <linux/omapfb.h>

#include <video/omapdss.h>
#include <plat/cpu.h>
#include <plat/vram.h>
#include <video/omapvrfb.h>

Expand Down Expand Up @@ -2396,10 +2395,7 @@ static int __init 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()) {
if (def_vrfb && !omap_vrfb_supported()) {
def_vrfb = 0;
dev_warn(&pdev->dev, "VRFB is not supported on this hardware, "
"ignoring the module parameter vrfb=y\n");
Expand Down

0 comments on commit 8d6d4df

Please sign in to comment.