summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2009-07-21 14:09:45 +0200
committerAnatolij Gustschin <agust@denx.de>2009-07-26 13:16:50 +0200
commit60e97419246d0a3615758ad6af40680aefb5f7f1 (patch)
treea68488fc4c46bfe8471e7ea9a5ad84eb5a8b0faa /include/lcd.h
parentbcf0b5248952c6b03081dc5cc4ff9e0b2299c5fa (diff)
downloadu-boot-imx-60e97419246d0a3615758ad6af40680aefb5f7f1.zip
u-boot-imx-60e97419246d0a3615758ad6af40680aefb5f7f1.tar.gz
u-boot-imx-60e97419246d0a3615758ad6af40680aefb5f7f1.tar.bz2
lcd.h: define extern vidinfo_t for all cases
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>
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 4d1dd9e..1f85daa 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -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)