blob: 394aecc6745ac0c49ad93436f0797084477a4363 [file] [log] [blame]
David Collins037d6482013-03-14 16:53:33 -07001/* Copyright (c) 2013, 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 _ARCH_ARM_MACH_MSM_SPM_REGULATOR_H
14#define _ARCH_ARM_MACH_MSM_SPM_REGULATOR_H
15
16#include <linux/err.h>
17#include <linux/init.h>
18
19#ifdef CONFIG_MSM_SPM_REGULATOR
20int __init spm_regulator_init(void);
21#else
22static inline int __init spm_regulator_init(void) { return -ENODEV; }
23#endif
24
25#endif