diff options
| author | Olof Johansson <olof@lixom.net> | 2012-12-12 16:09:22 -0800 | 
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-12-12 16:10:00 -0800 | 
| commit | 4a76411ea3f1da9032e031f8fff8894b97d141b2 (patch) | |
| tree | 59976175d70b6e08aacd4abf7090919d3b78fc29 /drivers/video/omap2/omapfb/omapfb-main.c | |
| parent | 5c1af2a7011bf719807de360cb64c2f610269a38 (diff) | |
| parent | fb6842a7bc44bf719bfe85d5819a153d7c215510 (diff) | |
| download | olio-linux-3.10-4a76411ea3f1da9032e031f8fff8894b97d141b2.tar.xz olio-linux-3.10-4a76411ea3f1da9032e031f8fff8894b97d141b2.zip  | |
ARM: arm-soc: Merge branch 'next/clk' into next/pm
Merge together a couple of the smaller pm/clock branches into one.
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-main.c')
| -rw-r--r-- | drivers/video/omap2/omapfb/omapfb-main.c | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 16db1589bd9..bc225e46fdd 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c @@ -31,9 +31,8 @@  #include <linux/omapfb.h>  #include <video/omapdss.h> -#include <plat/cpu.h>  #include <plat/vram.h> -#include <plat/vrfb.h> +#include <video/omapvrfb.h>  #include "omapfb.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");  |