misc_register(&lcd_dev); 
ret = misc_register(&lcd_dev); if (ret) { printk(KERN_WARNING LCD "Unable to register misc device.\n"); return ret; } 
static int lcd_init(void){	unsigned long data;	pr_info("%s\n", LCD_DRIVER);	misc_register(&lcd_dev);	/* Check region? Naaah! Just snarf it up. *//*	request_region(RTC_PORT(0), RTC_IO_EXTENT, "lcd");*/	udelay(150);	data = LCDReadData;	if ((data & 0x000000FF) == (0x00)) {		lcd_present = 0;		pr_info(LCD "LCD Not Present\n");	} else {		lcd_present = 1;		WRITE_GAL(kGal_DevBank2PReg, kGal_DevBank2Cfg);		WRITE_GAL(kGal_DevBank3PReg, kGal_DevBank3Cfg);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/cf85d5ca880c9611906e0ca0c729fdf01c724501/lcd.c/buggy/drivers/char/lcd.c