summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/mb862xx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/mb862xx.c b/drivers/video/mb862xx.c
index bfb057f..9684cf3 100644
--- a/drivers/video/mb862xx.c
+++ b/drivers/video/mb862xx.c
@@ -36,6 +36,9 @@
#include "videomodes.h"
#include <mb862xx.h>
+#if defined(CONFIG_POST)
+#include <post.h>
+#endif
/*
* Graphic Device
*/
@@ -354,7 +357,7 @@ void *video_hw_init (void)
board_disp_init();
#endif
-#if defined(CONFIG_LWMON5)
+#if defined(CONFIG_LWMON5) && !(CONFIG_POST & CFG_POST_SYSMON)
/* Lamp on */
board_backlight_switch (1);
#endif