kernel/drivers/rkflash/rkflash_blk.h
.. .. @@ -24,12 +24,13 @@ 24 24 int major; 25 25 int minorbits; 26 26 int last_dev_index; 27 - struct completion thread_exit;28 - int quit;29 - int flash_th_quited;30 - wait_queue_head_t thread_wq; /* thread wait queue */31 27 struct request_queue *rq; 32 28 spinlock_t queue_lock; /* queue lock */ 29 +30 + /* block-mq */31 + struct list_head rq_list;32 + struct blk_mq_tag_set *tag_set;33 +33 34 struct list_head devs; 34 35 struct module *owner; 35 36 };