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,34 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _LINUX_QTI_REGMAP_DEBUGFS_H_
#define _LINUX_QTI_REGMAP_DEBUGFS_H_
#include <linux/device.h>
#include <linux/regmap.h>
#if IS_ENABLED(CONFIG_REGMAP_QTI_DEBUGFS)
int regmap_qti_debugfs_register(struct device *dev, struct regmap *regmap);
void regmap_qti_debugfs_unregister(struct regmap *regmap);
int devm_regmap_qti_debugfs_register(struct device *dev, struct regmap *regmap);
void devm_regmap_qti_debugfs_unregister(struct regmap *regmap);
#else
static inline int regmap_qti_debugfs_register(struct device *dev,
struct regmap *regmap)
{ return 0; }
static inline void regmap_qti_debugfs_unregister(struct regmap *regmap)
{ }
static inline int devm_regmap_qti_debugfs_register(struct device *dev,
struct regmap *regmap)
{ return 0; }
static inline void devm_regmap_qti_debugfs_unregister(struct regmap *regmap)
{ }
#endif
#endif