unsigned long hsync_len = w100fb_get_hsynclen(&corgifb_device.dev);
unsigned long hsync_len = corgi_ts->machinfo->get_hsync_len();
static unsigned long calc_waittime(void){	unsigned long hsync_len = w100fb_get_hsynclen(&corgifb_device.dev);	if (hsync_len)		return get_clk_frequency_khz(0)*1000/hsync_len;	else		return 0;}