global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
[platform/kernel/u-boot.git] / drivers / power / power_fsl.c
index a64161b..7180b51 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  Copyright (C) 2011 Samsung Electronics
  *  Lukasz Majewski <l.majewski@samsung.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -48,7 +47,7 @@ int pmic_init(unsigned char bus)
        p->hw.spi.prepare_tx = pmic_spi_prepare_tx;
 #elif defined(CONFIG_POWER_I2C)
        p->interface = PMIC_I2C;
-       p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR;
+       p->hw.i2c.addr = CFG_SYS_FSL_PMIC_I2C_ADDR;
        p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH;
 #else
 #error "You must select CONFIG_POWER_SPI or CONFIG_POWER_I2C"