Add samsung specific changes

This commit is contained in:
2025-08-11 14:29:00 +02:00
parent c66122e619
commit 4d134a1294
2688 changed files with 1127995 additions and 11475 deletions

View File

@@ -0,0 +1,32 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _QPNP_PBS_H
#define _QPNP_PBS_H
#include <linux/errno.h>
#include <linux/types.h>
struct device_node;
#if IS_ENABLED(CONFIG_QPNP_PBS)
int qpnp_pbs_trigger_event(struct device_node *dev_node, u8 bitmap);
int qpnp_pbs_trigger_single_event(struct device_node *dev_node);
#else
static inline int qpnp_pbs_trigger_event(struct device_node *dev_node,
u8 bitmap)
{
return -ENODEV;
}
static inline int qpnp_pbs_trigger_single_event(
struct device_node *dev_node)
{
return -ENODEV;
}
#endif
#endif