修正参数类型.

Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
chen.yang 2022-05-10 16:52:24 +08:00
parent 88ffd087de
commit ffc4e8091e

View File

@ -207,7 +207,7 @@ struct demo_dev
wait_queue_head_t w_wait; // 阻塞写用的等待队列头
};
static unsigned int demo_poll(struct file *filp, struct poll_table* wait) {
static unsigned int demo_poll(struct file *filp, struct poll_table_struct* wait) {
struct demo_dev *devp = filp->private_data;
unsigned int mask = 0;