From 4e3a25b0274b8474f5ad46215a270785dd18265e Mon Sep 17 00:00:00 2001 From: Pawel Moll Date: Fri, 25 Jul 2014 15:23:49 +0100 Subject: 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 Cc: Russell King Signed-off-by: Pawel Moll Acked-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-imx/devices/devices.c | 2 -- 1 file changed, 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) -- cgit v1.2.3