mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
soc: rockchip: Add dummy rockchip_pm_register_notify_to_dmc
build fix for CONFIG_ROCKCHIP_PM_DOMAINS=n Change-Id: Iffa0bfa3ab7fc78360341f188f645d2579edde2e Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -15,7 +15,14 @@
|
||||
|
||||
#include <linux/devfreq.h>
|
||||
|
||||
#ifdef ROCKCHIP_PM_DOMAINS
|
||||
int rockchip_pm_register_notify_to_dmc(struct devfreq *devfreq);
|
||||
#else
|
||||
static inline int rockchip_pm_register_notify_to_dmc(struct devfreq *devfreq)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DRM
|
||||
int rockchip_drm_register_notifier_to_dmc(struct devfreq *devfreq);
|
||||
|
||||
Reference in New Issue
Block a user