From: Jorge Ramirez-Ortiz Date: Thu, 29 Aug 2019 08:27:59 +0000 (+0200) Subject: mbox: qcom: replace integer with valid macro X-Git-Tag: v5.15~5486^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16d52f336ba45d83ea7103439a9d3fad27edc165;p=platform%2Fkernel%2Flinux-starfive.git mbox: qcom: replace integer with valid macro Use the correct macro when registering the platform device. Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson Reviewed-by: Stephen Boyd Signed-off-by: Jassi Brar --- diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index d3676fd..7870edb 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -96,7 +96,8 @@ static int qcom_apcs_ipc_probe(struct platform_device *pdev) if (of_match_device(apcs_clk_match_table, &pdev->dev)) { apcs->clk = platform_device_register_data(&pdev->dev, "qcom-apcs-msm8916-clk", - -1, NULL, 0); + PLATFORM_DEVID_NONE, + NULL, 0); if (IS_ERR(apcs->clk)) dev_err(&pdev->dev, "failed to register APCS clk\n"); }