projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f920ebc
)
soc: rockchip: Add dummy rockchip_pm_register_notify_to_dmc
author
Huang, Tao
<huangtao@rock-chips.com>
Fri, 16 Jun 2017 11:39:04 +0000
(19:39 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Mon, 19 Jun 2017 06:02:45 +0000
(14:02 +0800)
build fix for CONFIG_ROCKCHIP_PM_DOMAINS=n
Change-Id: Iffa0bfa3ab7fc78360341f188f645d2579edde2e
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
include/soc/rockchip/rockchip_dmc.h
patch
|
blob
|
history
diff --git
a/include/soc/rockchip/rockchip_dmc.h
b/include/soc/rockchip/rockchip_dmc.h
index ef5fb47efab903bc04a1dd9b645cca274127d111..36ab2a544d5bc9b91c21cc3dddd40ff91d197a98 100644
(file)
--- a/
include/soc/rockchip/rockchip_dmc.h
+++ b/
include/soc/rockchip/rockchip_dmc.h
@@
-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);