rockchip: video: fix compile warning

Change-Id: I05dbb0cdc33f71f66feedad2033d702177b31ede
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2018-02-06 21:26:11 +08:00
parent fb568ba042
commit 2f37ae52b7
1 changed files with 2 additions and 0 deletions

View File

@ -72,7 +72,9 @@ static ulong alloc_fb(struct udevice *dev, ulong *addrp)
int video_reserve(ulong *addrp)
{
#ifndef CONFIG_DRM_ROCKCHIP
struct udevice *dev;
#endif
ulong size;
gd->video_top = *addrp;