Skip to content
Snippets Groups Projects
Commit a5a9fba4 authored by Eric Nelson's avatar Eric Nelson Committed by Stefano Babic
Browse files

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: default avatarEric Nelson <eric.nelson@boundarydevices.com>
parent 3acb011c
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,6 @@
#include <asm/errno.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 i;
......
......@@ -21,4 +21,9 @@ struct display_info_t {
extern int detect_hdmi(struct display_info_t const *dev);
#endif
#ifdef CONFIG_IMX_VIDEO_SKIP
extern struct display_info_t const displays[];
extern size_t display_count;
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment