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 <m.kozlowski@tuxland.pl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Andrew Morton 2008-02-04 22:27:31 -08:00 коммит произвёл Linus Torvalds
Родитель 7492d4a416
Коммит 134d495656
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,9 @@ struct nvram_header {
};
#ifdef __KERNEL__
#include <linux/list.h>
struct nvram_partition {
struct list_head partition;
struct nvram_header header;