]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: imx: Remove references to platform_bus in mxc code
authorPawel Moll <pawel.moll@arm.com>
Fri, 25 Jul 2014 14:23:49 +0000 (15:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 23:03:00 +0000 (16:03 -0700)
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>
arch/arm/mach-imx/devices/devices.c

index 1b4366a0e7c04b14ac986d136e197a9ffc4468c3..8eab5440da2869455bffbabdac17600dee397c7f 100644 (file)
 
 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)