Files
BPI-CM9-Linux/aml-comp/kernel/aml-6.12/common_drivers/drivers/mfd/main.h
T
2026-08-24 10:03:24 +08:00

25 lines
426 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef __MFD_MAIN_H__
#define __MFD_MAIN_H__
#if IS_ENABLED(CONFIG_AMLOGIC_MFD_PMIC6B)
int meson_pmic6b_i2c_init(void);
void meson_pmic6b_i2c_exit(void);
#else
static inline int meson_pmic6b_i2c_init(void)
{
return 0;
}
static inline void meson_pmic6b_i2c_exit(void)
{
}
#endif
#endif /* __MFD_MAIN_H__ */