kernel_samsung_a34x-permissive/drivers/sensorhub/vendor/shub_mtk.h
2024-04-28 15:51:13 +02:00

19 lines
562 B
C

#include <linux/version.h>
#define SENSORHUB_VENDOR "MTK"
#define SENSORHUB_NAME "MT6877"
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
#include "../../misc/mediatek/scp/rv/scp_helper.h"
#include "../../misc/mediatek/scp/rv/scp_ipi.h"
#include "../../misc/mediatek/scp/rv/scp_excep.h"
#else
#include "../../misc/mediatek/scp/mt6853/scp_helper.h"
#include "../../misc/mediatek/scp/mt6853/scp_ipi.h"
#include "../../misc/mediatek/scp/mt6853/scp_excep.h"
#endif
int sensorhub_probe(void);
int sensorhub_shutdown(void);
int sensorhub_refresh_func(void);