/* s3c_fb_enable() - Set the state of the main LCD output @sfb: The main framebuffer state. @enable: The state to set.  */
static void s3c_fb_enable(struct s3c_fb *sfb, int enable)
/* s3c_fb_enable() - Set the state of the main LCD output @sfb: The main framebuffer state. @enable: The state to set.  */
static void s3c_fb_enable(struct s3c_fb *sfb, int enable)
{
	u32 vidcon0 = readl(sfb->regs + VIDCON0);
	if (enable)
		vidcon0 |= VIDCON0_ENVID | VIDCON0_ENVID_F;
	else {
		if (!(vidcon0 & VIDCON0_ENVID))
			return;
		vidcon0 |= VIDCON0_ENVID;
		vidcon0 &= ~VIDCON0_ENVID_F;
	}
	writel(vidcon0, sfb->regs + VIDCON0);
}