From 57e15e609e090ac7ec02b570d653b64cf12e4f88 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 16 May 2017 21:50:27 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/19730 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/drivers/xgi/common/xgi_coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/xgi') diff --git a/src/drivers/xgi/common/xgi_coreboot.c b/src/drivers/xgi/common/xgi_coreboot.c index 4db06f9b6d..f7d81c86de 100644 --- a/src/drivers/xgi/common/xgi_coreboot.c +++ b/src/drivers/xgi/common/xgi_coreboot.c @@ -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; } -- cgit v1.2.3