diff --git a/Chapter8_SOC_与_Linux/8.8_设备驱动中的阻塞与非阻塞_IO.md b/Chapter8_SOC_与_Linux/8.8_设备驱动中的阻塞与非阻塞_IO.md index 61d2b2e..e0042eb 100644 --- a/Chapter8_SOC_与_Linux/8.8_设备驱动中的阻塞与非阻塞_IO.md +++ b/Chapter8_SOC_与_Linux/8.8_设备驱动中的阻塞与非阻塞_IO.md @@ -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;