Re: [PATCH 1/2] remove __init modifier from header declaration

From: Ingo Molnar
Date: Wed Dec 19 2007 - 05:13:40 EST



* Glauber de Oliveira Costa <gcosta@xxxxxxxxxx> wrote:

> This patch removes the __init modifier from an extern function
> declaration in acpi.h.
>
> Besides not being strictly needed, it requires the inclusion of
> linux/init.h, which is usually not even included directly, increasing
> header mess by a lot.

thanks, applied.

btw., people have been talking about reducing the include file mess for
nearly a decade now, but it didnt get that much better - at least not in
include/asm-x86/*.h. So include file dependency flattening patches would
be more than welcome as well. (and unlike unification patches they have
no expectation of being 100% perfect, so a natural ping-pong of fixes,
until the changes are fully correct, would be natural.)

Ingo
--
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/