summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-10-03 08:04:39 -0300
committerTom Rini <trini@ti.com>2013-10-07 08:21:13 -0400
commitce0f28fa82966ffc382b07e7ef4c6dc6a0b3f7d3 (patch)
tree67d4239c44f64cbc89900b1bab5987a64be763dd /include
parentf501991dcaa5ab633973b2887451daee5e70c6c8 (diff)
downloadu-boot-imx-ce0f28fa82966ffc382b07e7ef4c6dc6a0b3f7d3.zip
u-boot-imx-ce0f28fa82966ffc382b07e7ef4c6dc6a0b3f7d3.tar.gz
u-boot-imx-ce0f28fa82966ffc382b07e7ef4c6dc6a0b3f7d3.tar.bz2
include/linux/fb.h: Add a missing include for 'list.h'
The modelist data uses the list definition but the 'list.h' header were not being included. The build failure is bellow: ,---- | In file included from yyyy.c:16:0: | .../u-boot/include/linux/fb.h:503:19: error: field 'modelist' has incomplete type | struct list_head modelist; /* mode list */ | ^ | make[1]: *** [yyyy.o] Error 1 | make[1]: Leaving directory `.../u-boot/board/xxx/yyyy' | make: *** [board/xxx/yyyy/libyyyy.o] Error 2 `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 3858f8f..111372c 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -2,6 +2,7 @@
#define _LINUX_FB_H
#include <linux/types.h>
+#include <linux/list.h>
/* Definitions of frame buffers */