[PATCH 1/1] ARM: ux500: Register the AB8500 from DB8500 MFD

Samuel Ortiz sameo at linux.intel.com
Fri Jul 6 06:47:36 EDT 2012


Hi Lee,

On Fri, Jul 06, 2012 at 10:35:40AM +0100, Lee Jones wrote:
> As the AB8500 is a subordinate MFD device to the DB8500-PRCMU,
> for consistency and a better 1:1 depiction of how the hardware
> is laid out, it is a good idea to register it in the same way
> as we do for the other MFD child devices. In order for us to do
> this successfully we have to pass AB8500's platform data when
> registering the DB8500-PRCMU from platform code.
> 
> Also solves this issue:
> WARNING: at fs/sysfs/dir.c:526 sysfs_add_one+0x88/0xb0()
> sysfs: cannot create duplicate filename '/bus/platform/devices/ab8500-core.0'
> 
> Reported-by: Linus Walleij <linus.walleij at linaro.org>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---
>  arch/arm/mach-ux500/board-mop500.c       |   27 +++------------------------
>  arch/arm/mach-ux500/cpu-db8500.c         |    7 +++++--
>  arch/arm/mach-ux500/include/mach/setup.h |    3 ++-
>  drivers/mfd/db8500-prcmu.c               |   10 +++++++++-
>  4 files changed, 19 insertions(+), 28 deletions(-)
Patch applied, thanks a lot.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the linux-arm-kernel mailing list