Re: git: ba23f762ece5 - main - acpi_ged: fix build with ACPI_DEBUG
- In reply to: Gleb Smirnoff : "git: ba23f762ece5 - main - acpi_ged: fix build with ACPI_DEBUG"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Oct 2022 16:03:58 UTC
On Mon, Oct 24, 2022 at 04:03:05PM +0000, Gleb Smirnoff wrote: T> commit ba23f762ece54a86f64b8ef62bbfc9c73c98762c T> Author: Gleb Smirnoff <glebius@FreeBSD.org> T> AuthorDate: 2022-10-24 16:00:04 +0000 T> Commit: Gleb Smirnoff <glebius@FreeBSD.org> T> CommitDate: 2022-10-24 16:00:04 +0000 T> T> acpi_ged: fix build with ACPI_DEBUG T> --- T> sys/dev/acpica/acpi_ged.c | 2 +- T> 1 file changed, 1 insertion(+), 1 deletion(-) T> T> diff --git a/sys/dev/acpica/acpi_ged.c b/sys/dev/acpica/acpi_ged.c T> index 8ee56c8b0335..83e0f51161c1 100644 T> --- a/sys/dev/acpica/acpi_ged.c T> +++ b/sys/dev/acpica/acpi_ged.c T> @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); T> #include <dev/acpica/acpivar.h> T> T> /* Hooks for the ACPI CA debugging infrastructure */ T> -#define _COMPONENT ACPI_GED T> +#define _COMPONENT ACPI_BUS T> ACPI_MODULE_NAME("GED") I'm not sure this is the best fix. I just wanted to make all LINTs buildable. Maybe we need new entry in acpivar.h. I'll leave that to experts. -- Gleb Smirnoff