From: Pawel Moll Date: Fri, 25 Jul 2014 14:23:49 +0000 (+0100) Subject: ARM: imx: Remove references to platform_bus in mxc code X-Git-Tag: firefly_0821_release~176^2~3492^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4e3a25b0274b8474f5ad46215a270785dd18265e;p=firefly-linux-kernel-4.4.55.git 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 --- 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)