This is snapshot of the cpr-regulator driver as of msm-4.14
'commit a1036c1c5f47a ("msm: v4l2loopback: Add v4l2loopback
header entry")'.
Change-Id: I72bb3bb9051e51415f04446b6451ed573468c527
Signed-off-by: Asha Magadi Venkateshamurthy <amagad@codeaurora.org>
25 lines
449 B
C
25 lines
449 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#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__ */
|