aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-device.h')
-rw-r--r--drivers/firewire/fw-device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index 5399b48f5538..402a785ceedb 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -24,6 +24,7 @@
24 24
25#include <linux/fs.h> 25#include <linux/fs.h>
26#include <linux/cdev.h> 26#include <linux/cdev.h>
27#include <asm/atomic.h>
27 28
28enum fw_device_state { 29enum fw_device_state {
29 FW_DEVICE_INITIALIZING, 30 FW_DEVICE_INITIALIZING,
@@ -32,7 +33,7 @@ enum fw_device_state {
32}; 33};
33 34
34struct fw_device { 35struct fw_device {
35 int state; 36 atomic_t state;
36 struct fw_node *node; 37 struct fw_node *node;
37 int node_id; 38 int node_id;
38 int generation; 39 int generation;