]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lcd.h: define extern vidinfo_t for all cases
authorAlessandro Rubini <rubini@gnudd.com>
Tue, 21 Jul 2009 12:09:45 +0000 (14:09 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Jul 2009 11:16:50 +0000 (13:16 +0200)
include/lcd.h has different vidinfo for different platforms,
and several extern declaration, but one for the default case was
missing. This makes them a single extern declaration for everyone.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
include/lcd.h

index 4d1dd9e5e825db692da05e43df2a9826f54c538a..1f85daa8a2e041e974871f34b80e2f306e114bb0 100644 (file)
@@ -87,8 +87,6 @@ typedef struct vidinfo {
        u_char  vl_wbf;         /* Wait between frames */
 } vidinfo_t;
 
-extern vidinfo_t panel_info;
-
 #elif defined CONFIG_PXA250
 /*
  * PXA LCD DMA descriptor
@@ -158,8 +156,6 @@ typedef struct vidinfo {
        struct  pxafb_info pxa;
 } vidinfo_t;
 
-extern vidinfo_t panel_info;
-
 #elif defined(CONFIG_ATMEL_LCD)
 
 typedef struct vidinfo {
@@ -185,8 +181,6 @@ typedef struct vidinfo {
        u_long  mmio;           /* Memory mapped registers */
 } vidinfo_t;
 
-extern vidinfo_t panel_info;
-
 #else
 
 typedef struct vidinfo {
@@ -202,6 +196,8 @@ typedef struct vidinfo {
 
 #endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 or CONFIG_ATMEL_LCD */
 
+extern vidinfo_t panel_info;
+
 /* Video functions */
 
 #if defined(CONFIG_RBC823)