mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
eb_cpu5282: Declare diplay_width / display_height as externs
The board code here references the display_width / display_height variables set in the video driver, declare these as externs as gcc-11 will notice and lead to a multiple definition error. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
8627db79ca
commit
265724cb22
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if IS_ENABLED(CONFIG_VIDEO_VCXK)
|
||||
unsigned long display_width;
|
||||
unsigned long display_height;
|
||||
extern unsigned long display_width;
|
||||
extern unsigned long display_height;
|
||||
#endif
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue