kernel-brax3-ubuntu-touch/drivers/misc/mediatek/sensor/2.0/sensorhub/ready.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

22 lines
515 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2020 MediaTek Inc.
*/
#ifndef _READY_H_
#define _READY_H_
#include <linux/notifier.h>
enum sensor_ready_priority {
READY_STDPRI, /* others use std */
READY_HIGHPRI, /* transceiver use high */
READY_HIGHESTPRI, /* sensor comm use highest */
};
void sensor_ready_notifier_chain_register(struct notifier_block *nb);
void sensor_ready_notifier_chain_unregister(struct notifier_block *nb);
int host_ready_init(void);
void host_ready_exit(void);
#endif