Files
kernel_common_drivers/drivers/reset/main.h
T
hongyu.chen1 f38f2c2a81 sm1: add power domain. [1/1]
PD#SWPL-104278

Problem:
add power domain.

Solution:
add power domain.

Verify:
sm1

Change-Id: I0aab1e2e3b65d279a4194095ded67b063cdfb7f7
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-04-04 19:35:44 +08:00

38 lines
629 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef _RESET_MAIN_H__
#define _RESET_MAIN_H__
#if IS_ENABLED(CONFIG_AMLOGIC_RESET_MESON)
int meson_reset_driver_init(void);
void meson_reset_driver_exit(void);
#else
static inline int meson_reset_driver_init(void)
{
return 0;
}
static inline void meson_reset_driver_exit(void)
{
}
#endif
#if IS_ENABLED(CONFIG_AMLOGIC_DOS_RESET_MESON)
int reset_dos(void);
void reset_exit(void);
#else
static inline int reset_dos(void)
{
return 0;
}
static inline void reset_exit(void)
{
}
#endif
#endif /* _PM_MAIN_H__ */