summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-07-25 16:23:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-02 01:03:00 +0200
commit4e3a25b0274b8474f5ad46215a270785dd18265e (patch)
tree2c1a8df7acf20a7e41473df05c8abb8066788353 /arch/arm/mach-imx
parentfirmware loader: Fix _request_firmware_load() return val for fw load abort (diff)
downloadlinux-4e3a25b0274b8474f5ad46215a270785dd18265e.tar.xz
linux-4e3a25b0274b8474f5ad46215a270785dd18265e.zip
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')
-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)