Skip to content
Unverified Commit ac991b87 authored by Wang Jingjin's avatar Wang Jingjin Committed by Maxime Ripard
Browse files

drm/vc4: Add explicit declaration of 'drmm_of_get_bridge'



Fix the error of implicit declaration of function 'drmm_of_get_bridge':

drivers/gpu/drm/vc4/vc4_dpi.c:278:11: error: implicit declaration of function ‘drmm_of_get_bridge’; did you mean ‘devm_drm_of_get_bridge’? [-Werror=implicit-function-declaration]
  bridge = drmm_of_get_bridge(drm, dev->of_node, 0, 0);

Fixes: 055af023 ("drm/vc4: dpi: Switch to drmm_of_get_bridge")
Signed-off-by: default avatarWang Jingjin <wangjingjin1@huawei.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220716020741.4124893-1-wangjingjin1@huawei.com
parent b68735e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment