diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-05-08 17:29:01 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-14 12:14:40 +0400 |
commit | 3210c05327e2b44b3bf96bab550d72cdb18b64e4 (patch) | |
tree | c77b9ddde6ef58e3d4a14c1a005542ea7c590c84 /arch/arm/mach-ux500/setup.h | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) | |
download | linux-3210c05327e2b44b3bf96bab550d72cdb18b64e4.tar.xz |
ARM: ux500: Remove duplicated assignment of ab8500_platdata
Since: "05ec260 mfd: db8500-prcmu: update resource passing", the AB8500's
platform data 'ab8500_platdata' is passed directly as an attribute to
'db8500_prcmu_pdata', so there's no requirement to assign it a second
time. In fact, it's only due to an ordering issue that the entire
'db8500_prcmu_pdata' data structure isn't completely over-written by the
assignment in u8500_init_devices().
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/setup.h')
-rw-r--r-- | arch/arm/mach-ux500/setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/setup.h b/arch/arm/mach-ux500/setup.h index bddce2b49372..cad3ca86c540 100644 --- a/arch/arm/mach-ux500/setup.h +++ b/arch/arm/mach-ux500/setup.h @@ -18,7 +18,7 @@ void __init ux500_map_io(void); extern void __init u8500_map_io(void); -extern struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500); +extern struct device * __init u8500_init_devices(void); extern void __init ux500_init_irq(void); extern void __init ux500_init_late(void); |