video: Move video_get_info_str() prototype to a header file

This should be defined in a header file so that arguments are checked.
Move it to video.h.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2016-10-17 20:12:54 -06:00
committed by Tom Rini
parent fbda683292
commit 0a6eac842e
6 changed files with 23 additions and 17 deletions

View File

@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <post.h>
#include <flash.h>
#include <video.h>
#include <mtd/cfi_flash.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@@ -11,6 +11,7 @@
#include <libfdt.h>
#include <fdt_support.h>
#include <netdev.h>
#include <video.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/ppc4xx-gpio.h>

View File

@@ -15,6 +15,7 @@
#include <pci.h>
#include <malloc.h>
#include <bzlib.h>
#include <video.h>
#ifdef CONFIG_PIP405
#include "../pip405/pip405.h"

View File

@@ -18,6 +18,7 @@
#include <asm/processor.h>
#include <libfdt.h>
#include <netdev.h>
#include <video.h>
#ifdef CONFIG_VIDEO_SM501
#include <sm501.h>