Skip to contentSkip to conversation

blackfin: fix compile error in bfin-lq035q1-fb.c

PATCH In review Paul Gortmaker 3 participants 3 messages Apr 19, 2012 – Apr 20, 2012 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blackfin: fix compile error in bfin-lq035q1-fb.c

This file has an implicit dependency on GPIO stuff, showing up as the following build failure:

drivers/video/bfin-lq035q1-fb.c:369:6: error: 'GPIOF_OUT_INIT_LOW' undeclared

Other more global bfin build issues prevent an automated bisect, but it really doesn't matter - simply add in the appropriate header.

Cc Florian Tobias Schandinat <[email protected]>
Cc Mike Frysinger <[email protected]>
drivers/video/bfin-lq035q1-fb.c +1 -0
index 86922ac..353c02f 100644
@@ -13,6 +13,7 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/fb.h>
+#include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/types.h>
Signature · 1 line
1.7.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · On Wednesday 18 April 2012 22:43:21 Paul Gortmaker wrote:

This file has an implicit dependency on GPIO stuff, showing up as the following build failure:

drivers/video/bfin-lq035q1-fb.c:369:6: error: 'GPIOF_OUT_INIT_LOW' undeclared

Other more global bfin build issues prevent an automated bisect, but it really doesn't matter - simply add in the appropriate header.

-mike

Acked-by on v1 1/1
#2 lore raw
In reply to Paul Gortmaker
Quoted 13 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Gortmaker
Sent: Thursday, April 19, 2012 11:43 AM
To: [email protected]
Cc: [email protected]; Paul Gortmaker; Florian Tobias Schandinat; Mike Frysinger
Subject: [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c

This file has an implicit dependency on GPIO stuff, showing up as the following build failure:

Quoted 8 lines

drivers/video/bfin-lq035q1-fb.c:369:6: error: 'GPIOF_OUT_INIT_LOW' undeclared

Other more global bfin build issues prevent an automated bisect, but it really doesn't matter - simply add in the appropriate header.

Cc Florian Tobias Schandinat <[email protected]>
Cc Mike Frysinger <[email protected]>

It looks good.
This header file 'linux/gpio.h' is necessary for using 'GPIOF_OUT_INIT_LOW'.

Quoted 20 lines
drivers/video/bfin-lq035q1-fb.c +1 -1
index 86922ac..353c02f 100644
@@ -13,6 +13,7 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/fb.h>
+#include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/types.h>
--

1.7.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html