aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-topology.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-topology.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-topology.c')
-rw-r--r--drivers/firewire/fw-topology.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/firewire/fw-topology.c b/drivers/firewire/fw-topology.c
index d0deecc4de93..6d0ea1bb7e23 100644
--- a/drivers/firewire/fw-topology.c
+++ b/drivers/firewire/fw-topology.c
@@ -18,13 +18,21 @@
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/module.h> 21#include <linux/bug.h>
22#include <linux/wait.h>
23#include <linux/errno.h> 22#include <linux/errno.h>
24#include <asm/bug.h> 23#include <linux/jiffies.h>
24#include <linux/kernel.h>
25#include <linux/list.h>
26#include <linux/module.h>
27#include <linux/slab.h>
28#include <linux/spinlock.h>
29#include <linux/string.h>
30
31#include <asm/atomic.h>
25#include <asm/system.h> 32#include <asm/system.h>
26#include "fw-transaction.h" 33
27#include "fw-topology.h" 34#include "fw-topology.h"
35#include "fw-transaction.h"
28 36
29#define SELF_ID_PHY_ID(q) (((q) >> 24) & 0x3f) 37#define SELF_ID_PHY_ID(q) (((q) >> 24) & 0x3f)
30#define SELF_ID_EXTENDED(q) (((q) >> 23) & 0x01) 38#define SELF_ID_EXTENDED(q) (((q) >> 23) & 0x01)