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-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e3a25b0274b8474f5ad46215a270785dd18265e;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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)