summaryrefslogtreecommitdiff
path: root/post/drivers/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/drivers/i2c.c')
-rw-r--r--post/drivers/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c
index f54fe99..b152dea 100644
--- a/post/drivers/i2c.c
+++ b/post/drivers/i2c.c
@@ -39,7 +39,7 @@
#include <post.h>
#include <i2c.h>
-#if CONFIG_POST & CFG_POST_I2C
+#if CONFIG_POST & CONFIG_SYS_POST_I2C
int i2c_post_test (int flags)
{
@@ -88,4 +88,4 @@ int i2c_post_test (int flags)
#endif
}
-#endif /* CONFIG_POST & CFG_POST_I2C */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_I2C */