arch/x86: Fix typos
Change-Id: I944b9bf8f518eff9b539769825174bf1544e6b34 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38310 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -176,7 +176,7 @@ const char *acpi_device_scope(const struct device *dev)
|
|||||||
return buf;
|
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)
|
const char *acpi_device_path_join(const struct device *dev, const char *name)
|
||||||
{
|
{
|
||||||
static char buf[DEVICE_PATH_MAX] = {};
|
static char buf[DEVICE_PATH_MAX] = {};
|
||||||
|
@@ -1006,7 +1006,7 @@ void acpigen_write_resourcetemplate_header(void)
|
|||||||
acpigen_emit_byte(WORD_PREFIX);
|
acpigen_emit_byte(WORD_PREFIX);
|
||||||
len_stack[ltop++] = acpigen_get_current();
|
len_stack[ltop++] = acpigen_get_current();
|
||||||
/* Add 2 dummy bytes for the ACPI word (keep aligned with
|
/* 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);
|
||||||
acpigen_emit_byte(0x00);
|
acpigen_emit_byte(0x00);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user