devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 12/17] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined
       [not found] ` <1351902453-27956-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2012-11-03  0:27   ` Simon Glass
  0 siblings, 0 replies; only message in thread
From: Simon Glass @ 2012-11-03  0:27 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Tom Rini, Tom Wai-Hong Tam, Devicetree Discuss

From: Tom Wai-Hong Tam <waihong-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>

This function can be used for LCDs as well as monitors.

Signed-off-by: Tom Wai-Hong Tam <waihong-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Signed-off-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
 common/fdt_support.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/fdt_support.c b/common/fdt_support.c
index 963ea90..6b9fa05 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -1315,7 +1315,7 @@ int fdt_set_status_by_alias(void *fdt, const char* alias,
 	return fdt_set_node_status(fdt, offset, status, error_code);
 }
 
-#if defined(CONFIG_VIDEO)
+#if defined(CONFIG_VIDEO) || defined(CONFIG_LCD)
 int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf)
 {
 	int noff;
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-03  0:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1351902453-27956-1-git-send-email-sjg@chromium.org>
     [not found] ` <1351902453-27956-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-11-03  0:27   ` [PATCH 12/17] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).