]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/common/pq-mds-pib.c
support board vendor-common makefiles
[people/ms/u-boot.git] / board / freescale / common / pq-mds-pib.c
index 8c013c72fb724a0af77d3efe834fd1e5b15a6f2e..d79f2eb2e82ba5eac3e598e9ed1f7331f1296402 100644 (file)
@@ -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 */