mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 17:40:41 +09:00
ARM: i.MX video: declare displays and display_count publicly
Declare displays[] and display_count in imx-common/video.h to prevent "Should it be static?" messages when compiling board files with "make C=1". Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
This commit is contained in:
parent
3acb011c3c
commit
a5a9fba42b
@ -6,9 +6,6 @@
|
|||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <asm/imx-common/video.h>
|
#include <asm/imx-common/video.h>
|
||||||
|
|
||||||
extern struct display_info_t const displays[];
|
|
||||||
extern size_t display_count;
|
|
||||||
|
|
||||||
int board_video_skip(void)
|
int board_video_skip(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -21,4 +21,9 @@ struct display_info_t {
|
|||||||
extern int detect_hdmi(struct display_info_t const *dev);
|
extern int detect_hdmi(struct display_info_t const *dev);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_IMX_VIDEO_SKIP
|
||||||
|
extern struct display_info_t const displays[];
|
||||||
|
extern size_t display_count;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user