aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common/pq-mds-pib.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/pq-mds-pib.c')
-rw-r--r--board/freescale/common/pq-mds-pib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c
index 8c013c72fb7..d79f2eb2e82 100644
--- a/board/freescale/common/pq-mds-pib.c
+++ b/board/freescale/common/pq-mds-pib.c
@@ -12,6 +12,8 @@
#include <i2c.h>
#include <asm/io.h>
+#ifdef CONFIG_PQ_MDS_PIB
+
#include "pq-mds-pib.h"
int pib_init(void)
@@ -100,3 +102,4 @@ int pib_init(void)
i2c_set_bus_num(orig_i2c_bus);
return 0;
}
+#endif /* CONFIG_PQ_MDS_PIB */