Files
Kiran Gunda a878300ad6 regulator: spm_regulator: Add snapshot of spm_regulator driver
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>
2020-05-19 00:16:32 +05:30

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