kernel_samsung_a34x-permissive/drivers/misc/mediatek/scp/include/scp.h
2024-04-28 15:51:13 +02:00

26 lines
422 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef __SCP_H
#define __SCP_H
#if IS_ENABLED(CONFIG_MTK_TINYSYS_SCP_CM4_SUPPORT)
#include "scp_cm4.h"
#elif IS_ENABLED(CONFIG_MTK_TINYSYS_SCP_RV_SUPPORT)
#include "scp_rv.h"
#endif
struct shub_dump {
int reason;
int size;
char *dump;
char *mini_dump;
};
extern int shub_dump_notifier_register(struct notifier_block *nb);
#endif