diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-05 01:27:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:08 -0500 |
commit | 134d495656d674511b7ea074f819d92fcc2024fa (patch) | |
tree | 3be2b49ac824ea589e88f9853801f5820750deda /include/asm-powerpc | |
parent | 7492d4a416d68ab4bd254b36ffcc4e0138daa8ff (diff) |
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>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/nvram.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { | |||
58 | }; | 58 | }; |
59 | 59 | ||
60 | #ifdef __KERNEL__ | 60 | #ifdef __KERNEL__ |
61 | |||
62 | #include <linux/list.h> | ||
63 | |||
61 | struct nvram_partition { | 64 | struct nvram_partition { |
62 | struct list_head partition; | 65 | struct list_head partition; |
63 | struct nvram_header header; | 66 | struct nvram_header header; |