summaryrefslogtreecommitdiff
path: root/src/device/oprom
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-05-16 21:50:27 -0500
committerAaron Durbin <adurbin@chromium.org>2017-05-18 15:42:39 +0200
commit57e15e609e090ac7ec02b570d653b64cf12e4f88 (patch)
treeb31a062146d173f8350d6e3f01535fb07443b734 /src/device/oprom
parentbdb5c8feaed4cf914b474deeb30686e327ee9228 (diff)
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>
Diffstat (limited to 'src/device/oprom')
-rw-r--r--src/device/oprom/realmode/x86.c2
-rw-r--r--src/device/oprom/yabel/vbe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 0534d42db8..69ac1fe23d 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -216,7 +216,7 @@ static void setup_realmode_idt(void)
vbe_mode_info_t mode_info;
static int mode_info_valid;
-int vbe_mode_info_valid(void)
+static int vbe_mode_info_valid(void)
{
return mode_info_valid;
}
diff --git a/src/device/oprom/yabel/vbe.c b/src/device/oprom/yabel/vbe.c
index 913386458b..ec999012d2 100644
--- a/src/device/oprom/yabel/vbe.c
+++ b/src/device/oprom/yabel/vbe.c
@@ -156,7 +156,7 @@ vbe_info(vbe_info_t * info)
static int mode_info_valid;
-int vbe_mode_info_valid(void)
+static int vbe_mode_info_valid(void)
{
return mode_info_valid;
}