From 6716babee5a64cbf3674a13656e5a4179c5cb331 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 9 Jan 2020 21:29:25 +0100 Subject: [PATCH] arch/x86: Fix typos Change-Id: I944b9bf8f518eff9b539769825174bf1544e6b34 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/38310 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/arch/x86/acpi_device.c | 2 +- src/arch/x86/acpigen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/acpi_device.c b/src/arch/x86/acpi_device.c index 1d79170487..d51278975b 100644 --- a/src/arch/x86/acpi_device.c +++ b/src/arch/x86/acpi_device.c @@ -176,7 +176,7 @@ const char *acpi_device_scope(const struct device *dev) return buf; } -/* Concatentate the device path and provided name suffix */ +/* Concatenate the device path and provided name suffix */ const char *acpi_device_path_join(const struct device *dev, const char *name) { static char buf[DEVICE_PATH_MAX] = {}; diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c index 493131eda1..2e6078358a 100644 --- a/src/arch/x86/acpigen.c +++ b/src/arch/x86/acpigen.c @@ -1006,7 +1006,7 @@ void acpigen_write_resourcetemplate_header(void) acpigen_emit_byte(WORD_PREFIX); len_stack[ltop++] = acpigen_get_current(); /* Add 2 dummy bytes for the ACPI word (keep aligned with - the calclulation in acpigen_write_resourcetemplate() below). */ + the calculation in acpigen_write_resourcetemplate() below). */ acpigen_emit_byte(0x00); acpigen_emit_byte(0x00); }