summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-21 09:31:15 -0700
committerSantosh Shilimkar <ssantosh@kernel.org>2016-06-21 09:31:15 -0700
commit39a5cbbc0e24586fc30af9ebfc9957c00f1c9f3b (patch)
tree36a7a2d7f5774d965350a3411f8b64a06b55e111 /arch/arm
parentaf8c34ce6ae32addda3788d54a7e340cad22516b (diff)
downloadtalos-obmc-linux-39a5cbbc0e24586fc30af9ebfc9957c00f1c9f3b.tar.gz
talos-obmc-linux-39a5cbbc0e24586fc30af9ebfc9957c00f1c9f3b.zip
ARM: keystone: fix missing keystone.h in pm_domain.c
The declaration of keystone_pm_runtime_init() is not included from keystone.h in pm_domain.c. Including the file fixes the following sparse warning: arch/arm/mach-keystone/pm_domain.c:37:12: warning: symbol 'keystone_pm_runtime_init' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-keystone/pm_domain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/pm_domain.c b/arch/arm/mach-keystone/pm_domain.c
index e283939a216f..8cbb35765a19 100644
--- a/arch/arm/mach-keystone/pm_domain.c
+++ b/arch/arm/mach-keystone/pm_domain.c
@@ -18,6 +18,8 @@
#include <linux/platform_device.h>
#include <linux/of.h>
+#include "keystone.h"
+
static struct dev_pm_domain keystone_pm_domain = {
.ops = {
USE_PM_CLK_RUNTIME_OPS
OpenPOWER on IntegriCloud