]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/s3c24x0_i2c.c
x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()
[u-boot] / drivers / i2c / s3c24x0_i2c.c
index c11a6be7b76e8c3c50a6e829bc79f467a8ed9ff6..ae6f436385a616479db3096256613657c3d14665 100644 (file)
@@ -1002,7 +1002,7 @@ static int s3c24x0_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr,
        }
 }
 
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
 static void process_nodes(const void *blob, int node_list[], int count,
                         int is_highspeed)
 {
@@ -1101,7 +1101,7 @@ int i2c_reset_port_fdt(const void *blob, int node)
 
        return 0;
 }
-#endif /* CONFIG_OF_CONTROL */
+#endif /* CONFIG_IS_ENABLED(OF_CONTROL) */
 
 #ifdef CONFIG_EXYNOS5
 static void exynos_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr)