/* So, we just use the rude-force approach below, which is to define a new ioctl command to sync up with the LCD hardware.  */
static int nokia6100fb_ioctl(struct fb_info *i, unsigned int cmd, unsigned long arg)
/* So, we just use the rude-force approach below, which is to define a new ioctl command to sync up with the LCD hardware.  */
static int nokia6100fb_ioctl(struct fb_info *i, unsigned int cmd, unsigned long arg)
{
	struct nokia6100fb_par *p = i->par;
	int ret = 0;
	switch (cmd) {
	case FBIO_SYNC:
		ret = nokia6100fb_sync(p);
		break;
	default:
		ret = -ENOTTY;
		break;
	}
	d_printk(2, "ret=%d\n", ret);
	return ret;
}