Re: [PATCH] leds: Move triggers before drivers in Makefile

From: Sven Wegener
Date: Fri Aug 01 2008 - 19:23:02 EST


On Fri, 1 Aug 2008, Sven Wegener wrote:

> When both triggers and drivers are built-in, we should first register the
> triggers and then the drivers, to make default triggers work during device
> registration. We do this by moving the triggers before the drivers in the
> Makefile as init order is determined by linking order. Sadly this simple
> solution doesn't cover devices registered elsewhere in the kernel. But often
> these drivers provide their own triggers and should themselves take care of
> registering triggers before devices.
>
> Signed-off-by: Sven Wegener <sven.wegener@xxxxxxxxxxx>

Ignore this one, we also attach default triggers to devices while loading
the triggers.

Sven
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/