summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-10-28 12:24:25 +0100
committerMartin Roth <martinroth@google.com>2015-10-28 17:09:59 +0100
commita5c5db37eecc056792be72f6ef71d4ea6f1a7207 (patch)
tree498e7aa1f07d3a5a55dc7d2586e32040e1c11366 /payloads/libpayload/drivers
parent53538be49d74fbbb0f8fbd849e0a1403a591590f (diff)
downloadcoreboot-a5c5db37eecc056792be72f6ef71d4ea6f1a7207.tar.xz
cbgfx: Fix spelling of calculate_position()
Change-Id: Ib0dc14b197091450596ad01a924539b0e69acd68 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-on: http://review.coreboot.org/12216 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r--payloads/libpayload/drivers/video/graphics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/video/graphics.c b/payloads/libpayload/drivers/video/graphics.c
index e7a4957c3b..c8d0d4da4d 100644
--- a/payloads/libpayload/drivers/video/graphics.c
+++ b/payloads/libpayload/drivers/video/graphics.c
@@ -488,7 +488,7 @@ static int calculate_dimension(const struct vector *dim_org,
return CBGFX_SUCCESS;
}
-static int caclcuate_position(const struct vector *dim,
+static int calculate_position(const struct vector *dim,
const struct scale *pos_rel, uint8_t pivot,
struct vector *top_left)
{
@@ -572,7 +572,7 @@ int draw_bitmap(const void *bitmap, size_t size,
scale.y.d = dim_org.height;
/* Calculate coordinate */
- rv = caclcuate_position(&dim, pos_rel, pivot, &top_left);
+ rv = calculate_position(&dim, pos_rel, pivot, &top_left);
if (rv)
return rv;