summaryrefslogtreecommitdiff
path: root/board/gdsys/common/ioep-fpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gdsys/common/ioep-fpga.c')
-rw-r--r--board/gdsys/common/ioep-fpga.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c
index 8e105012479..91eec3ac7c1 100644
--- a/board/gdsys/common/ioep-fpga.c
+++ b/board/gdsys/common/ioep-fpga.c
@@ -4,6 +4,8 @@
* Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
*/
+#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
+
#include <common.h>
#include <gdsys_fpga.h>
@@ -234,3 +236,5 @@ void ioep_fpga_print_info(unsigned int fpga)
printf(", %d video channel(s)\n", feature_video_channels);
}
+
+#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */