summaryrefslogtreecommitdiff
path: root/src/device/oprom
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-18 11:28:43 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-18 18:05:43 +0200
commitc86762657dc7013a56b1d281286789dae17ad936 (patch)
treed45d6e23b50162866687279792feacc3e9f8e794 /src/device/oprom
parent9c8532b350d00dbd1aa184f162ef0448c941c822 (diff)
device/oprom/yabel/vbe.c: Avoid unused func warn
Change-Id: Idd74893c1fc3d0818d00c1f727c9fdc27168af0c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5782 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/device/oprom')
-rw-r--r--src/device/oprom/yabel/vbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/oprom/yabel/vbe.c b/src/device/oprom/yabel/vbe.c
index 333bdb4b31..6283bbb7f1 100644
--- a/src/device/oprom/yabel/vbe.c
+++ b/src/device/oprom/yabel/vbe.c
@@ -45,6 +45,7 @@ u8 *vbe_info_buffer = 0;
u8 *biosmem;
u32 biosmem_size;
+#if CONFIG_FRAMEBUFFER_SET_VESA_MODE
static inline u8
vbe_prepare(void)
{
@@ -63,7 +64,6 @@ vbe_prepare(void)
return 0; // successfull init
}
-#if CONFIG_FRAMEBUFFER_SET_VESA_MODE
// VBE Function 00h
static u8
vbe_info(vbe_info_t * info)