From: Andrew Morton Date: Tue, 5 Feb 2008 06:27:31 +0000 (-0800) Subject: include/asm-powerpc/nvram.h needs list.h X-Git-Tag: v2.6.25-rc1~1040 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=134d495656d674511b7ea074f819d92fcc2024fa;p=linux-2.6-omap-h63xx.git include/asm-powerpc/nvram.h needs list.h CC [M] sound/ppc/awacs.o In file included from sound/ppc/awacs.c:24: include/asm/nvram.h:62: error: field 'partition' has incomplete type Reported-by: Mariusz Kozlowski Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-powerpc/nvram.h b/include/asm-powerpc/nvram.h index 4e7059cc611..efde5ac82f7 100644 --- a/include/asm-powerpc/nvram.h +++ b/include/asm-powerpc/nvram.h @@ -58,6 +58,9 @@ struct nvram_header { }; #ifdef __KERNEL__ + +#include + struct nvram_partition { struct list_head partition; struct nvram_header header;