diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-07-25 10:23:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 19:03:00 -0400 |
commit | 4e3a25b0274b8474f5ad46215a270785dd18265e (patch) | |
tree | 2c1a8df7acf20a7e41473df05c8abb8066788353 /arch/arm/mach-imx/devices | |
parent | 0542ad88fbdd81bbd53f48bff981a9867e0f0659 (diff) |
ARM: imx: Remove references to platform_bus in mxc code
The bus devices created to be parents for other peripherals
were using platform_bus as a parent, not being platform
devices themselves. Remove the references, making them
virtual devices instead.
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-imx/devices')
-rw-r--r-- | arch/arm/mach-imx/devices/devices.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c index 1b4366a0e7c0..8eab5440da28 100644 --- a/arch/arm/mach-imx/devices/devices.c +++ b/arch/arm/mach-imx/devices/devices.c | |||
@@ -24,12 +24,10 @@ | |||
24 | 24 | ||
25 | struct device mxc_aips_bus = { | 25 | struct device mxc_aips_bus = { |
26 | .init_name = "mxc_aips", | 26 | .init_name = "mxc_aips", |
27 | .parent = &platform_bus, | ||
28 | }; | 27 | }; |
29 | 28 | ||
30 | struct device mxc_ahb_bus = { | 29 | struct device mxc_ahb_bus = { |
31 | .init_name = "mxc_ahb", | 30 | .init_name = "mxc_ahb", |
32 | .parent = &platform_bus, | ||
33 | }; | 31 | }; |
34 | 32 | ||
35 | int __init mxc_device_init(void) | 33 | int __init mxc_device_init(void) |