.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org> |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | | - * |
---|
14 | | - * You should have received a copy of the GNU General Public License |
---|
15 | | - * along with this program; if not, write to the Free Software |
---|
16 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
17 | | - * |
---|
18 | 4 | */ |
---|
19 | 5 | |
---|
20 | 6 | #ifndef __MTD_TRANS_H__ |
---|
.. | .. |
---|
23 | 9 | #include <linux/mutex.h> |
---|
24 | 10 | #include <linux/kref.h> |
---|
25 | 11 | #include <linux/sysfs.h> |
---|
26 | | -#include <linux/workqueue.h> |
---|
27 | 12 | |
---|
28 | 13 | struct hd_geometry; |
---|
29 | 14 | struct mtd_info; |
---|
.. | .. |
---|
44 | 29 | struct kref ref; |
---|
45 | 30 | struct gendisk *disk; |
---|
46 | 31 | struct attribute_group *disk_attributes; |
---|
47 | | - struct workqueue_struct *wq; |
---|
48 | | - struct work_struct work; |
---|
49 | 32 | struct request_queue *rq; |
---|
| 33 | + struct list_head rq_list; |
---|
| 34 | + struct blk_mq_tag_set *tag_set; |
---|
50 | 35 | spinlock_t queue_lock; |
---|
51 | 36 | void *priv; |
---|
52 | 37 | fmode_t file_mode; |
---|