Skip to content

Commit 43c9e54

Browse files
committed
soc: rockchip: rockchip_dmc: fix compilation error for !DRM_ROCKCHIP
Change-Id: I6f02fef9ecf9b74e16b8e35d5f9c23afa1d7ebc7 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 1d22a86 commit 43c9e54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/soc/rockchip/rockchip_dmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static inline int rockchip_pm_register_notify_to_dmc(struct devfreq *devfreq)
2424
}
2525
#endif
2626

27-
#ifdef CONFIG_DRM
27+
#ifdef CONFIG_DRM_ROCKCHIP
2828
int rockchip_drm_register_notifier_to_dmc(struct devfreq *devfreq);
2929
#else
3030
static inline int rockchip_drm_register_notifier_to_dmc(struct devfreq *devfreq)

0 commit comments

Comments
 (0)