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 { static inline struct fw_device * fw_device(struct device *dev) { - return container_of(dev, struct fw_device, device); + return container_of(dev, struct fw_device, device); } struct fw_device *fw_device_get(struct fw_device *device); @@ -63,7 +63,7 @@ struct fw_unit { static inline struct fw_unit * fw_unit(struct device *dev) { - return container_of(dev, struct fw_unit, device); + return container_of(dev, struct fw_unit, device); } #define CSR_OFFSET 0x40 @@ -119,7 +119,7 @@ struct fw_driver { static inline struct fw_driver * fw_driver(struct device_driver *drv) { - return container_of(drv, struct fw_driver, driver); + return container_of(drv, struct fw_driver, driver); } extern const struct file_operations fw_device_ops; |