vbe: remove the necessity for a global vbe_mode_info_valid()

There's no users of vbe_mode_info_valid() aside from the local
compilation units. Remove the declaration and make the function
static to the current global implementers.

Change-Id: I4872ac6ad15ba6a86bba69d51a8348b9921c152d
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19730
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Aaron Durbin
2017-05-16 21:50:27 -05:00
parent bdb5c8feae
commit 57e15e609e
4 changed files with 3 additions and 4 deletions

View File

@@ -421,7 +421,7 @@ int xgifb_modeset(struct pci_dev *pdev, struct xgifb_video_info *xgifb_info)
return 0;
}
int vbe_mode_info_valid(void)
static int vbe_mode_info_valid(void)
{
return xgi_vbe_valid;
}