Kiran Gunda | 7e9e00a | 2017-10-16 16:10:08 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef _LINUX_REGULATOR_SPM_H |
| 14 | #define _LINUX_REGULATOR_SPM_H |
| 15 | |
| 16 | #include <linux/err.h> |
| 17 | #include <linux/init.h> |
| 18 | |
| 19 | #ifdef CONFIG_REGULATOR_SPM |
| 20 | int __init spm_regulator_init(void); |
| 21 | #else |
| 22 | static inline int __init spm_regulator_init(void) { return -ENODEV; } |
| 23 | #endif |
| 24 | |
| 25 | #endif |