This is snapshot of the spm_regulator driver as of
msm-4.14 'commit 89909bd394e299cbe ("Merge "clk:
qcom: gcc-sdm429w: Update plls for SDM429W"")'.
Also replace the __invoke_psci_fn_smc wrapper with arm_smccc_smc as
__invoke_psci_fn_smc is no longer available.
Change-Id: Ia6ded6dc21ecff2114ddd20e26706d9196239956
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
18 lines
393 B
C
18 lines
393 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright (c) 2013-2014, 2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _LINUX_REGULATOR_SPM_H
|
|
#define _LINUX_REGULATOR_SPM_H
|
|
|
|
#include <linux/err.h>
|
|
#include <linux/init.h>
|
|
|
|
#ifdef CONFIG_REGULATOR_SPM
|
|
int __init spm_regulator_init(void);
|
|
#else
|
|
static inline int __init spm_regulator_init(void) { return -ENODEV; }
|
|
#endif
|
|
|
|
#endif
|