File tree Expand file tree Collapse file tree 2 files changed +18
-20
lines changed Expand file tree Collapse file tree 2 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 21
21
#include <linux/irqdomain_defs.h>
22
22
#include <linux/cpumask.h>
23
23
#include <linux/msi_api.h>
24
- #include <linux/xarray.h>
25
- #include <linux/mutex.h>
26
- #include <linux/list.h>
27
24
#include <linux/irq.h>
28
- #include <linux/bits.h>
29
25
30
26
#include <asm/msi.h>
31
27
@@ -227,20 +223,6 @@ struct msi_dev_domain {
227
223
struct irq_domain * domain ;
228
224
};
229
225
230
- /**
231
- * msi_device_data - MSI per device data
232
- * @properties: MSI properties which are interesting to drivers
233
- * @mutex: Mutex protecting the MSI descriptor store
234
- * @__domains: Internal data for per device MSI domains
235
- * @__iter_idx: Index to search the next entry for iterators
236
- */
237
- struct msi_device_data {
238
- unsigned long properties ;
239
- struct mutex mutex ;
240
- struct msi_dev_domain __domains [MSI_MAX_DEVICE_IRQDOMAINS ];
241
- unsigned long __iter_idx ;
242
- };
243
-
244
226
int msi_setup_device_data (struct device * dev );
245
227
246
228
void msi_lock_descs (struct device * dev );
Original file line number Diff line number Diff line change 8
8
* This file contains common code to support Message Signaled Interrupts for
9
9
* PCI compatible and non PCI compatible devices.
10
10
*/
11
- #include <linux/types.h>
12
11
#include <linux/device.h>
13
12
#include <linux/irq.h>
14
13
#include <linux/irqdomain.h>
15
14
#include <linux/msi.h>
15
+ #include <linux/mutex.h>
16
+ #include <linux/pci.h>
16
17
#include <linux/slab.h>
17
18
#include <linux/sysfs.h>
18
- #include <linux/pci.h>
19
+ #include <linux/types.h>
20
+ #include <linux/xarray.h>
19
21
20
22
#include "internals.h"
21
23
24
+ /**
25
+ * struct msi_device_data - MSI per device data
26
+ * @properties: MSI properties which are interesting to drivers
27
+ * @mutex: Mutex protecting the MSI descriptor store
28
+ * @__domains: Internal data for per device MSI domains
29
+ * @__iter_idx: Index to search the next entry for iterators
30
+ */
31
+ struct msi_device_data {
32
+ unsigned long properties ;
33
+ struct mutex mutex ;
34
+ struct msi_dev_domain __domains [MSI_MAX_DEVICE_IRQDOMAINS ];
35
+ unsigned long __iter_idx ;
36
+ };
37
+
22
38
/**
23
39
* struct msi_ctrl - MSI internal management control structure
24
40
* @domid: ID of the domain on which management operations should be done
You can’t perform that action at this time.
0 commit comments