mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "soc: qcom: qpnp-pbs: replace #ifdef with #if IS_ENABLED()"
This commit is contained in:
commit
688c74513d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _QPNP_PBS_H
|
||||
#define _QPNP_PBS_H
|
||||
|
||||
#ifdef CONFIG_QPNP_PBS
|
||||
#if IS_ENABLED(CONFIG_QPNP_PBS)
|
||||
int qpnp_pbs_trigger_event(struct device_node *dev_node, u8 bitmap);
|
||||
#else
|
||||
static inline int qpnp_pbs_trigger_event(struct device_node *dev_node,
|
||||
|
|
|
|||
Loading…
Reference in a new issue