diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mvebu-pmsu.h | 20 |
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 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2012 Marvell | ||
| 3 | * | ||
| 4 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
| 5 | * | ||
| 6 | * This file is licensed under the terms of the GNU General Public | ||
| 7 | * License version 2. This program is licensed "as is" without any | ||
| 8 | * warranty of any kind, whether express or implied. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __MVEBU_PMSU_H__ | ||
| 12 | #define __MVEBU_PMSU_H__ | ||
| 13 | |||
| 14 | #ifdef CONFIG_MACH_MVEBU_V7 | ||
| 15 | int mvebu_pmsu_dfs_request(int cpu); | ||
| 16 | #else | ||
| 17 | static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; } | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #endif /* __MVEBU_PMSU_H__ */ | ||
