Skip to content
Snippets Groups Projects
Commit 60e97419 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Anatolij Gustschin
Browse files

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: default avatarAlessandro Rubini <rubini@gnudd.com>
parent bcf0b524
No related branches found
No related tags found
No related merge requests found
...@@ -87,8 +87,6 @@ typedef struct vidinfo { ...@@ -87,8 +87,6 @@ typedef struct vidinfo {
u_char vl_wbf; /* Wait between frames */ u_char vl_wbf; /* Wait between frames */
} vidinfo_t; } vidinfo_t;
extern vidinfo_t panel_info;
#elif defined CONFIG_PXA250 #elif defined CONFIG_PXA250
/* /*
* PXA LCD DMA descriptor * PXA LCD DMA descriptor
...@@ -158,8 +156,6 @@ typedef struct vidinfo { ...@@ -158,8 +156,6 @@ typedef struct vidinfo {
struct pxafb_info pxa; struct pxafb_info pxa;
} vidinfo_t; } vidinfo_t;
extern vidinfo_t panel_info;
#elif defined(CONFIG_ATMEL_LCD) #elif defined(CONFIG_ATMEL_LCD)
typedef struct vidinfo { typedef struct vidinfo {
...@@ -185,8 +181,6 @@ typedef struct vidinfo { ...@@ -185,8 +181,6 @@ typedef struct vidinfo {
u_long mmio; /* Memory mapped registers */ u_long mmio; /* Memory mapped registers */
} vidinfo_t; } vidinfo_t;
extern vidinfo_t panel_info;
#else #else
typedef struct vidinfo { typedef struct vidinfo {
...@@ -202,6 +196,8 @@ typedef struct vidinfo { ...@@ -202,6 +196,8 @@ typedef struct vidinfo {
#endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 or CONFIG_ATMEL_LCD */ #endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 or CONFIG_ATMEL_LCD */
extern vidinfo_t panel_info;
/* Video functions */ /* Video functions */
#if defined(CONFIG_RBC823) #if defined(CONFIG_RBC823)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment