Re: [-mm patch] drivers/w1/w1.c: fix a compile error

From: Evgeniy Polyakov
Date: Sun Apr 09 2006 - 07:44:24 EST


On Sun, Apr 09, 2006 at 01:31:10PM +0200, Adrian Bunk (bunk@xxxxxxxxx) wrote:
> This patch fixes the following compile error:
>
> <-- snip -->
>
> ...
> CC drivers/w1/w1.o
> drivers/w1/w1.c:197: error: static declaration of 'w1_bus_type' follows non-static declaration
> drivers/w1/w1.h:217: error: previous declaration of 'w1_bus_type' was here
> make[2]: *** [drivers/w1/w1.o] Error 1
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Thank you, Adrian, your patch is correct.

--
Evgeniy Polyakov
-
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/