Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752975AbaGYOYP (ORCPT ); Fri, 25 Jul 2014 10:24:15 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:53440 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751868AbaGYOYN (ORCPT ); Fri, 25 Jul 2014 10:24:13 -0400 From: Pawel Moll To: Greg Kroah-Hartman Cc: Olof Johansson , Stephen Warren , Catalin Marinas , paul@pwsan.com, Arnd Bergmann , Peter De Schrijver , arm@kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pawel Moll , Shawn Guo , Sascha Hauer , Russell King Subject: [PATCH 1/5] ARM: imx: Remove references to platform_bus in mxc code Date: Fri, 25 Jul 2014 15:23:49 +0100 Message-Id: <1406298233-27876-1-git-send-email-pawel.moll@arm.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Shawn Guo Cc: Sascha Hauer Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Pawel Moll --- This patch is a part of effort to remove references to platform_bus and make it static. Shawn, Sascha - could you, please, have a look if such change is acceptable for you? arch/arm/mach-imx/devices/devices.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c index 1b4366a..8eab544 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) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/