aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-04 15:09:38 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-05 10:26:17 -0400
commite8ca97021c8eb127bb04aec4e2420e1d66be371d (patch)
treebc9e6c3597eff48632f57903e5cd0d3456fe8d7a /drivers/firewire/fw-transaction.c
parent3dcdc50079bc2c9dbc6524518976353f743f7ec8 (diff)
firewire: clean up includes
Include required headers which were only indirectly included. Remove unused includes and an unused constant. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-rw-r--r--drivers/firewire/fw-transaction.c28
1 files changed, 16 insertions, 12 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 283dac6d327d..7008214e3336 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -18,24 +18,28 @@
18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */ 19 */
20 20
21#include <linux/bug.h>
21#include <linux/completion.h> 22#include <linux/completion.h>
23#include <linux/device.h>
24#include <linux/errno.h>
25#include <linux/firewire-constants.h>
26#include <linux/fs.h>
27#include <linux/init.h>
22#include <linux/idr.h> 28#include <linux/idr.h>
29#include <linux/jiffies.h>
23#include <linux/kernel.h> 30#include <linux/kernel.h>
24#include <linux/kref.h>
25#include <linux/module.h>
26#include <linux/mutex.h>
27#include <linux/init.h>
28#include <linux/interrupt.h>
29#include <linux/pci.h>
30#include <linux/delay.h>
31#include <linux/poll.h>
32#include <linux/list.h> 31#include <linux/list.h>
33#include <linux/kthread.h> 32#include <linux/module.h>
34#include <asm/uaccess.h> 33#include <linux/slab.h>
34#include <linux/spinlock.h>
35#include <linux/string.h>
36#include <linux/timer.h>
37#include <linux/types.h>
38
39#include <asm/byteorder.h>
35 40
41#include "fw-device.h" /* for fw_device_ops */
36#include "fw-transaction.h" 42#include "fw-transaction.h"
37#include "fw-topology.h"
38#include "fw-device.h"
39 43
40#define HEADER_PRI(pri) ((pri) << 0) 44#define HEADER_PRI(pri) ((pri) << 0)
41#define HEADER_TCODE(tcode) ((tcode) << 4) 45#define HEADER_TCODE(tcode) ((tcode) << 4)