summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-07-22 20:46:48 +0000
committerJason Cooper <jason@lakedaemon.net>2014-07-22 20:46:48 +0000
commitba3ec5780bba27819bbc4f669e6c77418a00f14b (patch)
treeeebf5055d0fee3360e7930759ab1b3712eea2407 /include
parentba364fc752daeded072a5ef31e43b84cb1f9e5fd (diff)
parentee2d8ea1e9bb27989f4f157520500dd6c4d45347 (diff)
Merge branch 'mvebu/soc-cpufreq' into mvebu/soc
Diffstat (limited to 'include')
-rw-r--r--include/linux/mvebu-pmsu.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/mvebu-pmsu.h b/include/linux/mvebu-pmsu.h
new file mode 100644
index 000000000000..b918d07efe23
--- /dev/null
+++ b/include/linux/mvebu-pmsu.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2012 Marvell
+ *
+ * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __MVEBU_PMSU_H__
+#define __MVEBU_PMSU_H__
+
+#ifdef CONFIG_MACH_MVEBU_V7
+int mvebu_pmsu_dfs_request(int cpu);
+#else
+static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; }
+#endif
+
+#endif /* __MVEBU_PMSU_H__ */