/* register_led_regions() registers the LCD/LED regions for /procfs. At bootup - where the initialisation of the LCD/LED normally happens - not all internal structures of request_region() are properly set up, so that we delay the led-registration until after busdevices_init() has been executed.  */
void __init register_led_regions(void)
/* register_led_regions() registers the LCD/LED regions for /procfs. At bootup - where the initialisation of the LCD/LED normally happens - not all internal structures of request_region() are properly set up, so that we delay the led-registration until after busdevices_init() has been executed.  */
void __init register_led_regions(void)
{
	switch (lcd_info.model) {
	case DISPLAY_MODEL_LCD:
		request_mem_region((unsigned long)LCD_CMD_REG,  1, "lcd_cmd");
		request_mem_region((unsigned long)LCD_DATA_REG, 1, "lcd_data");
		break;
	case DISPLAY_MODEL_LASI:
	case DISPLAY_MODEL_OLD_ASP:
		request_mem_region((unsigned long)LED_DATA_REG, 1, "led_data");
		break;
	}
}