s5pc210: universal: initialize the panel info
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Oct 2010 04:56:40 +0000 (13:56 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 29 Oct 2010 04:56:40 +0000 (13:56 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal_c210/universal.c

index 5904a8b..56cc93e 100644 (file)
@@ -41,6 +41,7 @@ static struct s5pc210_gpio_part2 *gpio2;
 
 static unsigned int battery_soc;
 static unsigned int board_rev;
+extern vidinfo_t panel_info;
 
 u32 get_board_rev(void)
 {
@@ -210,6 +211,9 @@ int dram_init(void)
        /* Reset on fsa9480 */
        check_micro_usb(1);
 
+       /* Initialize the panel info */
+       memset(&panel_info, 0x0, sizeof(panel_info));
+
        return 0;
 }