Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965261AbbEMQy2 (ORCPT ); Wed, 13 May 2015 12:54:28 -0400 Received: from foss.arm.com ([217.140.101.70]:37027 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934130AbbEMQyU (ORCPT ); Wed, 13 May 2015 12:54:20 -0400 Message-ID: <555381B8.5020504@arm.com> Date: Wed, 13 May 2015 17:54:16 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Rob Herring CC: Sudeep Holla , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "grant.likely@linaro.org" , Rob Herring , Benjamin Herrenschmidt , Greg Kroah-Hartman Subject: Re: [PATCH] of: base: upgrade initcall level of of_init from core to pure References: <1431452282-10207-1-git-send-email-sudeep.holla@arm.com> <55532186.5060803@arm.com> <555364AA.7030703@arm.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 38 On 13/05/15 17:34, Rob Herring wrote: > On Wed, May 13, 2015 at 9:50 AM, Sudeep Holla wrote: >> On 13/05/15 14:46, Rob Herring wrote: >>> On Wed, May 13, 2015 at 5:03 AM, Sudeep Holla >>> wrote: > > [...] > >>>> Yes I read and was bit hesitant initially to do this change, but found >>>> no better way. I posted mainly to discuss other possibilities to solve >>>> the issue. >>> >>> >>> Perhaps of_init should not be an initcall at all and it should go into >>> driver_init(). >> >> >> That seems ideal place to me as most of kset and kobjects are created >> there. Something like below patch ? However found that PPC had a >> function with same name which can conflict and we need to rename one of >> these two. > > It looks like the PPC one is in the boot wrapper. They shouldn't > collide. If they do, then how about of_core_init. > Thanks for the review, will check the PPC build and change accordingly if required. Regards, Sudeep -- 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/