disp: msm: fix printk argument errors

This change fixes printk arguments in display driver which is
found with additional compilation flags and adds the compile
flags too.

Change-Id: Ic653591db49b49b9ce1ce04e7df89216772d0e71
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
This commit is contained in:
Nilaan Gunabalachandran
2022-11-08 14:10:10 -05:00
committed by Gerrit - the friendly Code Review server
vanhempi 58285a9dd0
commit 275c881ae4
3 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa

Näytä tiedosto

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define pr_fmt(fmt) "[drm:%s:%d]: " fmt, __func__, __LINE__
@@ -286,7 +287,7 @@ static int sde_power_parse_dt_clock(struct platform_device *pdev,
mp->clk_config[i].type = DSS_CLK_MMRM;
mp->clk_config[i].mmrm.clk_id = clock_mmrm;
}
pr_debug("clk[%d]:%d mmrm:%d rate:%d name:%s dev:%s\n",
pr_debug("clk[%d] mmrm:%d rate:%d name:%s dev:%s\n",
i, clock_mmrm, clock_rate, clock_name,
pdev->name ? pdev->name : "<unknown>");