--- zzzz-none-000/linux-5.4.213/include/linux/libata.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/linux/libata.h 2024-08-14 09:02:08.000000000 +0000 @@ -22,6 +22,9 @@ #include #include #include +#ifdef CONFIG_ATA_LEDS +#include +#endif #include /* @@ -882,6 +885,12 @@ #ifdef CONFIG_ATA_ACPI struct ata_acpi_gtm __acpi_init_gtm; /* use ata_acpi_init_gtm() */ #endif + +#ifdef CONFIG_ATA_LEDS + struct led_trigger *ledtrig; + char ledtrig_name[8]; +#endif + /* owned by EH */ u8 sector_buf[ATA_SECT_SIZE] ____cacheline_aligned; };