mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: driver: fix compile error when disable vop
drivers/gpu/drm/panel/panel-simple.c:385: undefined reference to `rockchip_drm_crtc_send_mcu_cmd' Change-Id: I95f182dca7abcb1e8d8a3fc3bb6fd20db5f2db65 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -185,9 +185,18 @@ int rockchip_register_crtc_funcs(struct drm_crtc *crtc,
|
||||
const struct rockchip_crtc_funcs *crtc_funcs);
|
||||
void rockchip_unregister_crtc_funcs(struct drm_crtc *crtc);
|
||||
int rockchip_drm_wait_vact_end(struct drm_crtc *crtc, unsigned int mstimeout);
|
||||
#if IS_ENABLED(CONFIG_DRM_ROCKCHIP)
|
||||
int rockchip_drm_crtc_send_mcu_cmd(struct drm_device *drm_dev,
|
||||
struct device_node *np_crtc,
|
||||
u32 type, u32 value);
|
||||
#else
|
||||
static inline int rockchip_drm_crtc_send_mcu_cmd(struct drm_device *drm_dev,
|
||||
struct device_node *np_crtc,
|
||||
u32 type, u32 value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern struct platform_driver cdn_dp_driver;
|
||||
extern struct platform_driver dw_hdmi_rockchip_pltfm_driver;
|
||||
|
||||
Reference in New Issue
Block a user