* [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c
@ 2012-04-19 2:43 Paul Gortmaker
2012-04-19 2:49 ` Mike Frysinger
2012-04-20 4:52 ` Jingoo Han
0 siblings, 2 replies; 3+ messages in thread
From: Paul Gortmaker @ 2012-04-19 2:43 UTC (permalink / raw)
To: linux-fbdev
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 <FlorianSchandinat@gmx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
diff --git a/drivers/video/bfin-lq035q1-fb.c b/drivers/video/bfin-lq035q1-fb.c
index 86922ac..353c02f 100644
--- a/drivers/video/bfin-lq035q1-fb.c
+++ b/drivers/video/bfin-lq035q1-fb.c
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c
2012-04-19 2:43 [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c Paul Gortmaker
@ 2012-04-19 2:49 ` Mike Frysinger
2012-04-20 4:52 ` Jingoo Han
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2012-04-19 2:49 UTC (permalink / raw)
To: linux-fbdev
[-- Attachment #1: Type: Text/Plain, Size: 447 bytes --]
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.
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c
2012-04-19 2:43 [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c Paul Gortmaker
2012-04-19 2:49 ` Mike Frysinger
@ 2012-04-20 4:52 ` Jingoo Han
1 sibling, 0 replies; 3+ messages in thread
From: Jingoo Han @ 2012-04-20 4:52 UTC (permalink / raw)
To: linux-fbdev
> -----Original Message-----
> From: linux-fbdev-owner@vger.kernel.org [mailto:linux-fbdev-owner@vger.kernel.org] On Behalf Of Paul
> Gortmaker
> Sent: Thursday, April 19, 2012 11:43 AM
> To: linux-fbdev@vger.kernel.org
> Cc: uclinux-dist-devel@blackfin.uclinux.org; 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:
>
> 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 <FlorianSchandinat@gmx.de>
> Cc: Mike Frysinger <vapier@gentoo.org>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
It looks good.
This header file 'linux/gpio.h' is necessary for using 'GPIOF_OUT_INIT_LOW'.
>
> diff --git a/drivers/video/bfin-lq035q1-fb.c b/drivers/video/bfin-lq035q1-fb.c
> index 86922ac..353c02f 100644
> --- a/drivers/video/bfin-lq035q1-fb.c
> +++ b/drivers/video/bfin-lq035q1-fb.c
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-20 4:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19 2:43 [PATCH] blackfin: fix compile error in bfin-lq035q1-fb.c Paul Gortmaker
2012-04-19 2:49 ` Mike Frysinger
2012-04-20 4:52 ` Jingoo Han
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.