[PATCH v2 07/11] ssbi: Use regular init level
Stephen Boyd
sboyd at codeaurora.org
Tue Mar 12 16:26:40 EDT 2013
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 at codeaurora.org>
> ---
> 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
More information about the linux-arm-kernel
mailing list