From mboxrd@z Thu Jan 1 00:00:00 1970 From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD) Date: Fri, 19 Oct 2012 04:24:52 +0200 Subject: [PATCH 01/10] pinctrl: use postcore_initcall In-Reply-To: <1350551224-12857-1-git-send-email-haojian.zhuang@gmail.com> References: <1350551224-12857-1-git-send-email-haojian.zhuang@gmail.com> Message-ID: <20121019022452.GG12801@game.jcrosoft.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 17:06 Thu 18 Oct , Haojian Zhuang wrote: > Since pins are configured in device driver, pinctrl driver should be > loaded by those device driver. module_platform_driver() only declares > pinctrl driver is in module_initcall privilege. Use postcore_initcall > privilege instead. this should not be mandatory as you can use defer probe Best Regards, J. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH 01/10] pinctrl: use postcore_initcall Date: Fri, 19 Oct 2012 04:24:52 +0200 Message-ID: <20121019022452.GG12801@game.jcrosoft.org> References: <1350551224-12857-1-git-send-email-haojian.zhuang@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1350551224-12857-1-git-send-email-haojian.zhuang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Haojian Zhuang Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On 17:06 Thu 18 Oct , Haojian Zhuang wrote: > Since pins are configured in device driver, pinctrl driver should be > loaded by those device driver. module_platform_driver() only declares > pinctrl driver is in module_initcall privilege. Use postcore_initcall > privilege instead. this should not be mandatory as you can use defer probe Best Regards, J.