修正参数类型.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
88ffd087de
commit
ffc4e8091e
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user