diff options
| author | Daniel Baluta <daniel.baluta@nxp.com> | 2026-08-17 15:35:41 +0300 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2026-08-18 11:17:52 +0200 |
| commit | c6441becf4d064bb1dcbccbd3e2276833804cff5 (patch) | |
| tree | 41e65cf71487a989d4c62fa189ce0524d00c2ebb /include/linux/input | |
| parent | f24cfafd1e11feca224d085bff515f5ba45c55a2 (diff) | |
soc: qcom: ubwc: Fix missing include
When CONFIG_QCOM_UBWC_CONFIG=n, compiler needs to know the definition
of ERR_PTR otherwise there will be a compilation error:
In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:7:
./include/linux/soc/qcom/ubwc.h: In function ‘qcom_ubwc_config_get_data’:
./include/linux/soc/qcom/ubwc.h:45:16: error: implicit declaration of
function ‘ERR_PTR’ [-Wimplicit-function-declaration]
Fix this by including <linux/err.h>
Fixes: 1924272b9ce1 ("soc: qcom: Add UBWC config provider")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
