1
0
Fork 0

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>
utp
Otavio Salvador 2013-10-03 08:04:39 -03:00 committed by Tom Rini
parent f501991dca
commit ce0f28fa82
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#define _LINUX_FB_H
#include <linux/types.h>
#include <linux/list.h>
/* Definitions of frame buffers */