]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: qcom: ubwc: add missing include
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sat, 10 Jan 2026 19:37:53 +0000 (21:37 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Jan 2026 22:22:13 +0000 (16:22 -0600)
The header has a function which calls pr_err(). Don't require users of
the header to include <linux/printk.h> and include it here.

Fixes: 87cfc79dcd60 ("drm/msm/a6xx: Resolve the meaning of UBWC_MODE")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20260110-iris-ubwc-v1-1-dd70494dcd7b@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
include/linux/soc/qcom/ubwc.h

index 0a4edfe3d96d4face2ef98622984c66939a68c53..f052e241736c4bf92b3f3a603542082c5b608a51 100644 (file)
@@ -8,6 +8,7 @@
 #define __QCOM_UBWC_H__
 
 #include <linux/bits.h>
+#include <linux/printk.h>
 #include <linux/types.h>
 
 struct qcom_ubwc_cfg_data {