Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
21 lines
430 B
C
21 lines
430 B
C
/*
|
|
* Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
* Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __UM_UBD_USER_H
|
|
#define __UM_UBD_USER_H
|
|
|
|
extern int start_io_thread(unsigned long sp, int *fds_out);
|
|
extern int io_thread(void *arg);
|
|
extern int kernel_fd;
|
|
|
|
extern int ubd_read_poll(int timeout);
|
|
extern int ubd_write_poll(int timeout);
|
|
|
|
#define UBD_REQ_BUFFER_SIZE 64
|
|
|
|
#endif
|
|
|