| From ccc5e4f40170612ef4334557216c853447c305fd Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Sat, 10 Jan 2026 21:37:53 +0200 |
| Subject: soc: qcom: ubwc: add missing include |
| |
| From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> |
| |
| [ Upstream commit ccef4b2703ff5b0de0b1bda30a0de3026d52eb19 ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| include/linux/soc/qcom/ubwc.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/include/linux/soc/qcom/ubwc.h b/include/linux/soc/qcom/ubwc.h |
| index 0a4edfe3d96d4..f052e241736c4 100644 |
| --- a/include/linux/soc/qcom/ubwc.h |
| +++ b/include/linux/soc/qcom/ubwc.h |
| @@ -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 { |
| -- |
| 2.51.0 |
| |