Re: git: fa4f625ed854 - main - acpi_system76: unbreak LINT

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 Mar 2026 13:42:34 UTC
On 3/7/26 14:23, Pouria Mousavizadeh Tehrani wrote:
> The branch main has been updated by pouria:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=fa4f625ed854cec2d7657783b955426fce8ff9ba
> 
> commit fa4f625ed854cec2d7657783b955426fce8ff9ba
> Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
> AuthorDate: 2026-03-07 19:15:40 +0000
> Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
> CommitDate: 2026-03-07 19:22:24 +0000
> 
>      acpi_system76: unbreak LINT
>      
>      Reported by: tinderbox
>      Fixes: cdad55809ef5 ("acpi_system76: Support for ...")
>      Differential Revision: https://reviews.freebsd.org/D55694
> ---
>   sys/dev/acpi_support/acpi_system76.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/sys/dev/acpi_support/acpi_system76.c b/sys/dev/acpi_support/acpi_system76.c
> index 916a9a61f471..c20725f0174e 100644
> --- a/sys/dev/acpi_support/acpi_system76.c
> +++ b/sys/dev/acpi_support/acpi_system76.c
> @@ -26,12 +26,14 @@
>    * SUCH DAMAGE.
>    */
>   
> +#include "opt_acpi.h"
>   #include <sys/param.h>

FYI, I believe the common style is to leave a blank line between "opt_foo.h" #includes and
other #includes.  (I am not sure if style(9) covers this case.)

-- 
John Baldwin