PM / devfreq: rockchip_dmc: include pm_domains.h

remove rockchip_pm_register_notify_to_dmc from rockchip_dmc.h

Change-Id: I9e78eaec2a88cfc06ac3d24f01870cd39c9d05ad
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2018-05-08 17:08:56 +08:00
parent 153262b3f2
commit ab0d877240
2 changed files with 1 additions and 9 deletions

View File

@ -44,6 +44,7 @@
#include <linux/suspend.h>
#include <linux/thermal.h>
#include <soc/rockchip/pm_domains.h>
#include <soc/rockchip/rkfb_dmc.h>
#include <soc/rockchip/rockchip_dmc.h>
#include <soc/rockchip/rockchip_sip.h>

View File

@ -15,15 +15,6 @@
#include <linux/devfreq.h>
#ifdef CONFIG_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_ROCKCHIP
int rockchip_drm_register_notifier_to_dmc(struct devfreq *devfreq);
#else