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: Ubuntu-5.2.0-15.16~13066^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4e3a25b0274b8474f5ad46215a270785dd18265e;p=mirror_ubuntu-eoan-kernel.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)