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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index ce47ab958840..c167d59da68a 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -32,6 +32,12 @@ enum fw_device_state {
32 FW_DEVICE_SHUTDOWN, 32 FW_DEVICE_SHUTDOWN,
33}; 33};
34 34
35struct fw_attribute_group {
36 struct attribute_group *groups[2];
37 struct attribute_group group;
38 struct attribute *attrs[11];
39};
40
35struct fw_device { 41struct fw_device {
36 atomic_t state; 42 atomic_t state;
37 struct fw_node *node; 43 struct fw_node *node;
@@ -45,6 +51,7 @@ struct fw_device {
45 size_t config_rom_length; 51 size_t config_rom_length;
46 int config_rom_retries; 52 int config_rom_retries;
47 struct delayed_work work; 53 struct delayed_work work;
54 struct fw_attribute_group attribute_group;
48}; 55};
49 56
50static inline struct fw_device * 57static inline struct fw_device *
@@ -72,6 +79,7 @@ extern int fw_cdev_major;
72struct fw_unit { 79struct fw_unit {
73 struct device device; 80 struct device device;
74 u32 *directory; 81 u32 *directory;
82 struct fw_attribute_group attribute_group;
75}; 83};
76 84
77static inline struct fw_unit * 85static inline struct fw_unit *