Patchwork [U-Boot,3/7] include/linux/fb.h: Add a missing include for 'list.h'

login
register
mail settings
Submitter Otavio Salvador
Date Sept. 28, 2013, 3:24 a.m.
Message ID <1380338659-7896-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/278704/
State Superseded
Headers show

Comments

Otavio Salvador - Sept. 28, 2013, 3:24 a.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/linux/fb.h | 1 +
 1 file changed, 1 insertion(+)
Fabio Estevam - Sept. 28, 2013, 4:46 p.m.
On Sat, Sep 28, 2013 at 12:24 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Please provide a commit log and explain which function from list.h is
needed and/or what is the build error you get  without this header.

Patch

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						*/