Index: drivers/ata/sata_mv.c =================================================================== --- drivers/ata/sata_mv.c (revision 1) +++ drivers/ata/sata_mv.c (working copy) @@ -73,8 +73,6 @@ #include #include #include +#ifdef CONFIG_LEDS_TRIGGER_IDE_DISK +#include +#endif #define DRV_NAME "sata_mv" #define DRV_VERSION "1.28" @@ -1162,8 +1160,6 @@ { int want_ncq = (protocol == ATA_PROT_NCQ); +#ifdef CONFIG_LEDS_TRIGGER_IDE_DISK + ledtrig_ide_activity(); +#endif + if (pp->pp_flags & MV_PP_FLAG_EDMA_EN) { int using_ncq = ((pp->pp_flags & MV_PP_FLAG_NCQ_EN) != 0); if (want_ncq != using_ncq) Index: drivers/leds/trigger/Kconfig --- drivers/leds/trigger/Kconfig (revision 1) +++ /drivers/leds/trigger/Kconfig (working copy) @@ -35,6 +35,7 @@ config LEDS_TRIGGER_IDE_DISK bool "LED IDE Disk Trigger" - depends on IDE_GD_ATA depends on LEDS_TRIGGERS help This allows LEDs to be controlled by IDE disk activity.