--- zzzz-none-000/linux-4.4.271/include/linux/libata.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/include/linux/libata.h 2023-04-19 10:22:30.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; };