diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-17 16:45:54 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 15:56:47 -0400 |
commit | 41f321c2ecf416f9dcf76de989e9059fd699c8c1 (patch) | |
tree | a2b569521ec178be36bc610811b6d4c86faec3af /drivers/firewire/fw-device.h | |
parent | 81610b8fbfc027a67707ff567d490819a3d55844 (diff) |
firewire: core: clean up includes
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device.h')
-rw-r--r-- | drivers/firewire/fw-device.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h index 41483f1a1be..3085a74669b 100644 --- a/drivers/firewire/fw-device.h +++ b/drivers/firewire/fw-device.h | |||
@@ -19,11 +19,17 @@ | |||
19 | #ifndef __fw_device_h | 19 | #ifndef __fw_device_h |
20 | #define __fw_device_h | 20 | #define __fw_device_h |
21 | 21 | ||
22 | #include <linux/device.h> | ||
22 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
23 | #include <linux/cdev.h> | ||
24 | #include <linux/idr.h> | 24 | #include <linux/idr.h> |
25 | #include <linux/rwsem.h> | 25 | #include <linux/kernel.h> |
26 | #include <linux/list.h> | ||
26 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/rwsem.h> | ||
29 | #include <linux/sysfs.h> | ||
30 | #include <linux/types.h> | ||
31 | #include <linux/workqueue.h> | ||
32 | |||
27 | #include <asm/atomic.h> | 33 | #include <asm/atomic.h> |
28 | 34 | ||
29 | enum fw_device_state { | 35 | enum fw_device_state { |
@@ -39,6 +45,9 @@ struct fw_attribute_group { | |||
39 | struct attribute *attrs[11]; | 45 | struct attribute *attrs[11]; |
40 | }; | 46 | }; |
41 | 47 | ||
48 | struct fw_node; | ||
49 | struct fw_card; | ||
50 | |||
42 | /* | 51 | /* |
43 | * Note, fw_device.generation always has to be read before fw_device.node_id. | 52 | * Note, fw_device.generation always has to be read before fw_device.node_id. |
44 | * Use SMP memory barriers to ensure this. Otherwise requests will be sent | 53 | * Use SMP memory barriers to ensure this. Otherwise requests will be sent |