/* Some touchscreens need hsync information from the video driver to function correctly. We export it here.  */
unsigned long w100fb_get_hsynclen(struct device *dev)
/* Some touchscreens need hsync information from the video driver to function correctly. We export it here.  */
unsigned long w100fb_get_hsynclen(struct device *dev)
{
	struct fb_info *info = dev_get_drvdata(dev);
	struct w100fb_par *par=info->par;
	if (par->blanked)
		return 0;
	else
		return par->hsync_len;
}