drm/vc4: Add explicit declaration of 'drmm_of_get_bridge'
authorWang Jingjin <wangjingjin1@huawei.com>
Sat, 16 Jul 2022 02:07:41 +0000 (10:07 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 21 Jul 2022 10:15:56 +0000 (12:15 +0200)
commitac991b874b098ecde2c5eb81da48d52b6b22851b
treeea0ef503ad19970ca3c4486e056a49b77bed08a7
parentb68735e8ef58be6df7a6f511c60186e6051d9fb6
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: 055af0235aef ("drm/vc4: dpi: Switch to drmm_of_get_bridge")
Signed-off-by: Wang Jingjin <wangjingjin1@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220716020741.4124893-1-wangjingjin1@huawei.com
include/drm/drm_bridge.h