diff options
-rw-r--r-- | drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c index 40d6a63..4f62b92 100644 --- a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c +++ b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c @@ -1101,6 +1101,7 @@ static OMAPLFB_ERROR OMAPLFBInitFBDev(OMAPLFB_DEVINFO *psDevInfo) OMAPLFBPrintInfo(psDevInfo); /* hijack LINFB */ +#if defined(CONFIG_ION_OMAP) if(1) { /* for some reason we need at least 3 buffers in the swap chain */ @@ -1178,6 +1179,7 @@ static OMAPLFB_ERROR OMAPLFBInitFBDev(OMAPLFB_DEVINFO *psDevInfo) } } else +#endif { psPVRFBInfo->sSysAddr.uiAddr = psLINFBInfo->fix.smem_start; psPVRFBInfo->sCPUVAddr = psLINFBInfo->screen_base; |