]> Git Repo - J-linux.git/commitdiff
ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
authorColin Ian King <[email protected]>
Thu, 15 Jul 2021 13:23:21 +0000 (14:23 +0100)
committerShawn Guo <[email protected]>
Fri, 23 Jul 2021 07:33:30 +0000 (15:33 +0800)
The function imx_mmdc_perf_init recently had a 3rd argument added to
it but the equivalent macro was not updated and is still the older
2 argument version. Fix this by adding in the missing 3rd argumement
mmdc_ipg_clk.

Fixes: f07ec8536580 ("ARM: imx: add missing clk_disable_unprepare()")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
arch/arm/mach-imx/mmdc.c

index 4a6f1359e1e92e1bc3eb34ca6d6615caaf55b15c..af12668d0bf51c173014eaf2e69afd0f9387e9ff 100644 (file)
@@ -534,7 +534,7 @@ pmu_free:
 
 #else
 #define imx_mmdc_remove NULL
-#define imx_mmdc_perf_init(pdev, mmdc_base) 0
+#define imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk) 0
 #endif
 
 static int imx_mmdc_probe(struct platform_device *pdev)
This page took 0.052647 seconds and 4 git commands to generate.