--- zzzz-none-000/linux-4.4.271/include/linux/libata.h 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/include/linux/libata.h 2023-01-11 09:25:43.000000000 +0000 @@ -38,6 +38,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; };