Re: [PATCH v2 2/2] clk: qcom: add the GCC driver for sa8775p
From: Konrad Dybcio
Date: Wed Jan 18 2023 - 09:38:37 EST
On 17.01.2023 19:04, Bartosz Golaszewski wrote:
> From: Shazad Hussain <quic_shazhuss@xxxxxxxxxxx>
>
> Add support for the Global Clock Controller found in the QTI SA8775P
> platforms.
>
> Signed-off-by: Shazad Hussain <quic_shazhuss@xxxxxxxxxxx>
> [Bartosz: made the driver ready for upstream]
> Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---
[...]
> +
> +static int __init gcc_sa8775p_init(void)
> +{
> + return platform_driver_register(&gcc_sa8775p_driver);
> +}
> +subsys_initcall(gcc_sa8775p_init);
core_initcall, otherwise you'll be waiting for years :P
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Konrad
> +
> +static void __exit gcc_sa8775p_exit(void)
> +{
> + platform_driver_unregister(&gcc_sa8775p_driver);
> +}
> +module_exit(gcc_sa8775p_exit);
> +
> +MODULE_DESCRIPTION("Qualcomm SA8775P GCC driver");
> +MODULE_LICENSE("GPL");