summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/setup.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-08 14:29:01 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-05-14 10:14:40 +0200
commit3210c05327e2b44b3bf96bab550d72cdb18b64e4 (patch)
treec77b9ddde6ef58e3d4a14c1a005542ea7c590c84 /arch/arm/mach-ux500/setup.h
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
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.h2
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);