On 03/12/13 11:41, David Brown wrote: > With device tree, and deferred probe, it is no longer necessary to > make sure that the ssbi bus driver is initialized very early. Restore > to a regular module_init(). > > Signed-off-by: David Brown <davidb@xxxxxxxxxxxxxx> > --- > drivers/ssbi/ssbi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ssbi/ssbi.c b/drivers/ssbi/ssbi.c > index 7ae8925..6878e55 100644 > --- a/drivers/ssbi/ssbi.c > +++ b/drivers/ssbi/ssbi.c > @@ -379,7 +379,7 @@ static int __init msm_ssbi_init(void) > { > return platform_driver_register(&msm_ssbi_driver); > } > -postcore_initcall(msm_ssbi_init); > +module_init(msm_ssbi_init); > > static void __exit msm_ssbi_exit(void) > { With this change we can use module_platform_driver() too. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html