mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
driver: soc: qcom: Fix function prototype
Replace a #ifdef with a IS_ENABLED() to allow rpmh master stat to be built
as a module.
Fixes: 6d5e000 ("drivers: soc: qcom: snapshot of sleep drivers for Lahaina")
Change-Id: Ic0dedbad11812a0bd932a9c0099dfb4632842177
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
646129c1f1
commit
ea2e374e45
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __QCOM_RPM_STATS_LOG_H__
|
||||
#define __QCOM_RPM_STATS_LOG_H__
|
||||
|
||||
#if defined(CONFIG_QTI_RPM_STATS_LOG)
|
||||
#if IS_ENABLED(CONFIG_QTI_RPM_STATS_LOG)
|
||||
|
||||
void msm_rpmh_master_stats_update(void);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue