summaryrefslogtreecommitdiff
path: root/board/gdsys/common/adv7611.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gdsys/common/adv7611.c')
-rw-r--r--board/gdsys/common/adv7611.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/gdsys/common/adv7611.c b/board/gdsys/common/adv7611.c
index c416bf1dc4..06cdc05825 100644
--- a/board/gdsys/common/adv7611.c
+++ b/board/gdsys/common/adv7611.c
@@ -4,6 +4,8 @@
* Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
*/
+#ifdef CONFIG_GDSYS_LEGACY_DRIVERS
+
#include <common.h>
#include <i2c.h>
@@ -174,3 +176,5 @@ out:
return res;
}
+
+#endif /* CONFIG_GDSYS_LEGACY_DRIVERS */