diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-07-03 12:02:29 -0400 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-07-03 12:02:29 -0400 |
commit | de4394f13cc843fae2a3ba2df752ee20e6e779a8 (patch) | |
tree | f583ed92bda4b5da3b27a10ff1d40131996eff0d /drivers/ieee1394/ieee1394_core.h | |
parent | e1d118f16dca0f54faba3e8dd5b6adbbf7ac68c8 (diff) |
[PATCH] ieee1394: update #include directives in midlayer header files
Remove unnecessary includes, add missing includes.
Use forward type declarations for some structs.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394/ieee1394_core.h')
-rw-r--r-- | drivers/ieee1394/ieee1394_core.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/ieee1394/ieee1394_core.h b/drivers/ieee1394/ieee1394_core.h index 31d9efccdc0..1ce172b2856 100644 --- a/drivers/ieee1394/ieee1394_core.h +++ b/drivers/ieee1394/ieee1394_core.h | |||
@@ -1,12 +1,16 @@ | |||
1 | |||
2 | #ifndef _IEEE1394_CORE_H | 1 | #ifndef _IEEE1394_CORE_H |
3 | #define _IEEE1394_CORE_H | 2 | #define _IEEE1394_CORE_H |
4 | 3 | ||
5 | #include <linux/slab.h> | 4 | #include <linux/device.h> |
5 | #include <linux/fs.h> | ||
6 | #include <linux/list.h> | ||
7 | #include <linux/skbuff.h> | ||
8 | #include <linux/types.h> | ||
6 | #include <asm/atomic.h> | 9 | #include <asm/atomic.h> |
7 | #include <asm/semaphore.h> | 10 | #include <asm/semaphore.h> |
8 | #include "hosts.h" | ||
9 | 11 | ||
12 | #include "hosts.h" | ||
13 | #include "ieee1394_types.h" | ||
10 | 14 | ||
11 | struct hpsb_packet { | 15 | struct hpsb_packet { |
12 | /* This struct is basically read-only for hosts with the exception of | 16 | /* This struct is basically read-only for hosts with the exception of |