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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index 655d7e838012..41483f1a1beb 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -180,8 +180,7 @@ struct fw_driver {
180 const struct fw_device_id *id_table; 180 const struct fw_device_id *id_table;
181}; 181};
182 182
183static inline struct fw_driver * 183static inline struct fw_driver *fw_driver(struct device_driver *drv)
184fw_driver(struct device_driver *drv)
185{ 184{
186 return container_of(drv, struct fw_driver, driver); 185 return container_of(drv, struct fw_driver, driver);
187} 186}