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.h6
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 {
48static inline struct fw_device * 48static inline struct fw_device *
49fw_device(struct device *dev) 49fw_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
54struct fw_device *fw_device_get(struct fw_device *device); 54struct fw_device *fw_device_get(struct fw_device *device);
@@ -63,7 +63,7 @@ struct fw_unit {
63static inline struct fw_unit * 63static inline struct fw_unit *
64fw_unit(struct device *dev) 64fw_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 {
119static inline struct fw_driver * 119static inline struct fw_driver *
120fw_driver(struct device_driver *drv) 120fw_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
125extern const struct file_operations fw_device_ops; 125extern const struct file_operations fw_device_ops;