projects/linux·commit 134d4956

include/asm-powerpc/nvram.h needs list.h

134d4956 · Andrew Morton <[email protected]> · 2008-02-04 22:27:31 -08:00

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 <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
134d495656d674511b7ea074f819d92fcc2024fa
Parents
7492d4a4

Changes

1 files changed · +3 −0

FileStatusAddDelContent
include/asm-powerpc/nvram.hmodified+3−0View file

include/asm-powerpc/nvram.h

View file
diff --git a/include/asm-powerpc/nvram.h b/include/asm-powerpc/nvram.h
index 4e7059c..efde5ac 100644
--- a/include/asm-powerpc/nvram.h
+++ b/include/asm-powerpc/nvram.h
@@ -58,6 +58,9 @@ struct nvram_header {
};
#ifdef __KERNEL__
+
+#include <linux/list.h>
+
struct nvram_partition {
struct list_head partition;
struct nvram_header header;