projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1e49a
)
OMAPFB: use omap_vrfb_supported()
author
Tomi Valkeinen
<
[email protected]
>
Wed, 17 Oct 2012 09:16:50 +0000
(12:16 +0300)
committer
Tomi Valkeinen
<
[email protected]
>
Wed, 17 Oct 2012 09:18:14 +0000
(12:18 +0300)
Replace cpu_is_*() check with omap_vrfb_supported().
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/video/omap2/omapfb/omapfb-main.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/omapfb/omapfb-main.c
b/drivers/video/omap2/omapfb/omapfb-main.c
index 5943b3a5d55a823b7e7763740d227f7f9bd43c63..bc225e46fdd2da8125bf48d1dfd7cf2cbda9625e 100644
(file)
--- a/
drivers/video/omap2/omapfb/omapfb-main.c
+++ b/
drivers/video/omap2/omapfb/omapfb-main.c
@@
-31,7
+31,6
@@
#include <linux/omapfb.h>
#include <video/omapdss.h>
-#include <plat/cpu.h>
#include <plat/vram.h>
#include <video/omapvrfb.h>
@@
-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");