Skip to content

Commit

Permalink
ARM: imx: Remove references to platform_bus in mxc code
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Pawel Moll <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
pawelmoll authored and gregkh committed Aug 1, 2014
1 parent 0542ad8 commit 4e3a25b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-imx/devices/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e3a25b

Please sign in to comment.