diff options
Diffstat (limited to 'drivers/firewire/fw-device.h')
-rw-r--r-- | drivers/firewire/fw-device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h index f39cf6ae6253..b150adb42533 100644 --- a/drivers/firewire/fw-device.h +++ b/drivers/firewire/fw-device.h | |||
@@ -48,7 +48,7 @@ struct fw_device { | |||
48 | static inline struct fw_device * | 48 | static inline struct fw_device * |
49 | fw_device(struct device *dev) | 49 | fw_device(struct device *dev) |
50 | { | 50 | { |
51 | return container_of(dev, struct fw_device, device); | 51 | return container_of(dev, struct fw_device, device); |
52 | } | 52 | } |
53 | 53 | ||
54 | struct fw_device *fw_device_get(struct fw_device *device); | 54 | struct fw_device *fw_device_get(struct fw_device *device); |
@@ -63,7 +63,7 @@ struct fw_unit { | |||
63 | static inline struct fw_unit * | 63 | static inline struct fw_unit * |
64 | fw_unit(struct device *dev) | 64 | fw_unit(struct device *dev) |
65 | { | 65 | { |
66 | return container_of(dev, struct fw_unit, device); | 66 | return container_of(dev, struct fw_unit, device); |
67 | } | 67 | } |
68 | 68 | ||
69 | #define CSR_OFFSET 0x40 | 69 | #define CSR_OFFSET 0x40 |
@@ -119,7 +119,7 @@ struct fw_driver { | |||
119 | static inline struct fw_driver * | 119 | static inline struct fw_driver * |
120 | fw_driver(struct device_driver *drv) | 120 | fw_driver(struct device_driver *drv) |
121 | { | 121 | { |
122 | return container_of(drv, struct fw_driver, driver); | 122 | return container_of(drv, struct fw_driver, driver); |
123 | } | 123 | } |
124 | 124 | ||
125 | extern const struct file_operations fw_device_ops; | 125 | extern const struct file_operations fw_device_ops; |