1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

pmic: dialog: Avoid name conflicts

As mx53loco board has two variants: one with Dialog PMIC and another with FSL MC34708 PMIC,
we need to be able to build both drivers.

Change pmic_init() and PMIC_NUM_OF_REGS names to avoid build conflicts when both drivers are present.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Fabio Estevam
2012-05-07 10:25:58 +00:00
committed by Albert ARIBAUD
parent bff969eaf0
commit ed5157e889
4 changed files with 5 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ enum {
DA9053_GPID7_REG,
DA9053_GPID8_REG,
DA9053_GPID9_REG,
PMIC_NUM_OF_REGS,
DIALOG_NUM_OF_REGS,
};
#define DA_BUCKCORE_VBCORE_1_250V 0x1E