Files
agnos-kernel-sdm845/include/linux/regulator/cpr-regulator.h
Tirupathi Reddy c3598b5bb7 regulator: add snapshot of cpr-regulator driver and documentation
This snapshot is taken from msm-3.18 branch as of:

'commit c0b3f609196f ("ARM: dts: msm: Remove GPU mempool for msm8909")'

CRs-Fixed: 2160311
Change-Id: I2cb5a52ca9628d80a145c493b9ab90f913840ff7
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-01-10 08:52:49 +05:30

33 lines
869 B
C

/*
* Copyright (c) 2013-2014, 2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __REGULATOR_CPR_REGULATOR_H__
#define __REGULATOR_CPR_REGULATOR_H__
#include <linux/init.h>
#ifdef CONFIG_REGULATOR_CPR
int __init cpr_regulator_init(void);
#else
static inline int __init cpr_regulator_init(void)
{
return -ENODEV;
}
#endif /* CONFIG_REGULATOR_CPR */
#endif /* __REGULATOR_CPR_REGULATOR_H__ */