Skip to content

Commit 57ef690

Browse files
committed
soc: rockchip: rockchip_dmc: add missing CONFIG_
Commit 1763310 ("soc: rockchip: Add dummy rockchip_pm_register_notify_to_dmc") make power domain driver unable to receive dmc notify. That will make DDR freq stop or power domain unable to idle or deidle. Fixes: 1763310 ("soc: rockchip: Add dummy rockchip_pm_register_notify_to_dmc") Change-Id: I30970507ce56a663198c777ddf691ccfbf12611e Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 801ff69 commit 57ef690

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
@@ -15,7 +15,7 @@
1515

1616
#include <linux/devfreq.h>
1717

18-
#ifdef ROCKCHIP_PM_DOMAINS
18+
#ifdef CONFIG_ROCKCHIP_PM_DOMAINS
1919
int rockchip_pm_register_notify_to_dmc(struct devfreq *devfreq);
2020
#else
2121
static inline int rockchip_pm_register_notify_to_dmc(struct devfreq *devfreq)

0 commit comments

Comments
 (0)