firewire: use atomic type for fw_device.state

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Stefan Richter
2007-01-27 10:34:55 +01:00
父節點 0edeefd99f
當前提交 641f8791f0
共有 3 個文件被更改,包括 6 次插入5 次删除

查看文件

@@ -24,6 +24,7 @@
#include <linux/fs.h>
#include <linux/cdev.h>
#include <asm/atomic.h>
enum fw_device_state {
FW_DEVICE_INITIALIZING,
@@ -32,7 +33,7 @@ enum fw_device_state {
};
struct fw_device {
int state;
atomic_t state;
struct fw_node *node;
int node_id;
int generation;