summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-07-25 18:23:49 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-02 03:03:00 +0400
commit4e3a25b0274b8474f5ad46215a270785dd18265e (patch)
tree2c1a8df7acf20a7e41473df05c8abb8066788353 /arch/arm/mach-imx/devices
parent0542ad88fbdd81bbd53f48bff981a9867e0f0659 (diff)
downloadlinux-4e3a25b0274b8474f5ad46215a270785dd18265e.tar.xz
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.c2
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 @@
struct device mxc_aips_bus = {
.init_name = "mxc_aips",
- .parent = &platform_bus,
};
struct device mxc_ahb_bus = {
.init_name = "mxc_ahb",
- .parent = &platform_bus,
};
int __init mxc_device_init(void)