X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fdrivers%2Fi2c.c;h=b152deaf6abf52c91d164b49b0349b1b7795b004;hb=e4430779623af500de1cee7892c379f07ef59813;hp=1b2e64471b30145607aed0594b8f5c1fd30f7e7e;hpb=ad5bb451ade552c44bef9119d907929ebc2c126f;p=u-boot diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c index 1b2e64471b..b152deaf6a 100644 --- a/post/drivers/i2c.c +++ b/post/drivers/i2c.c @@ -23,8 +23,6 @@ #include -#ifdef CONFIG_POST - /* * I2C test * @@ -41,7 +39,7 @@ #include #include -#if CONFIG_POST & CFG_POST_I2C +#if CONFIG_POST & CONFIG_SYS_POST_I2C int i2c_post_test (int flags) { @@ -90,5 +88,4 @@ int i2c_post_test (int flags) #endif } -#endif /* CONFIG_POST & CFG_POST_I2C */ -#endif /* CONFIG_POST */ +#endif /* CONFIG_POST & CONFIG_SYS_POST_I2C */