···3131#include <linux/omapfb.h>32323333#include <video/omapdss.h>3434-#include <plat/cpu.h>3534#include <plat/vram.h>3636-#include <plat/vrfb.h>3535+#include <video/omapvrfb.h>37363837#include "omapfb.h"3938···23952396 goto err0;23962397 }2397239823982398- /* TODO : Replace cpu check with omap_has_vrfb once HAS_FEATURE23992399- * available for OMAP2 and OMAP324002400- */24012401- if (def_vrfb && !cpu_is_omap24xx() && !cpu_is_omap34xx()) {23992399+ if (def_vrfb && !omap_vrfb_supported()) {24022400 def_vrfb = 0;24032401 dev_warn(&pdev->dev, "VRFB is not supported on this hardware, "24042402 "ignoring the module parameter vrfb=y\n");