summaryrefslogtreecommitdiff
path: root/board/gdsys/common/ch7301.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gdsys/common/ch7301.c')
-rw-r--r--board/gdsys/common/ch7301.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/gdsys/common/ch7301.c b/board/gdsys/common/ch7301.c
index 1234149f42..5e42467651 100644
--- a/board/gdsys/common/ch7301.c
+++ b/board/gdsys/common/ch7301.c
@@ -6,6 +6,8 @@
/* Chrontel CH7301C DVI Transmitter */
+#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
+
#include <common.h>
#include <asm/io.h>
#include <errno.h>
@@ -61,3 +63,5 @@ int ch7301_probe(unsigned screen, bool power)
return 0;
}
+
+#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */