]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pmic: dialog: Avoid name conflicts
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 7 May 2012 10:25:58 +0000 (10:25 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:34 +0000 (08:31 +0200)
commited5157e8895a6bf59a8163329639e34db0702331
treed66082c1f28541fd35b8f5e716e8a18c488792a8
parentbff969eaf0f8d6743558607dfbc7a03f3a7a36d2
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>
board/freescale/mx53loco/mx53loco.c
drivers/misc/pmic_dialog.c
include/dialog_pmic.h
include/pmic.h