aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage/usb.h')
-rw-r--r--drivers/usb/storage/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/storage/usb.h b/drivers/usb/storage/usb.h
index 009fb0953a56..5284abe1b5eb 100644
--- a/drivers/usb/storage/usb.h
+++ b/drivers/usb/storage/usb.h
@@ -160,10 +160,10 @@ struct us_data {
160}; 160};
161 161
162/* Convert between us_data and the corresponding Scsi_Host */ 162/* Convert between us_data and the corresponding Scsi_Host */
163static struct Scsi_Host inline *us_to_host(struct us_data *us) { 163static inline struct Scsi_Host *us_to_host(struct us_data *us) {
164 return container_of((void *) us, struct Scsi_Host, hostdata); 164 return container_of((void *) us, struct Scsi_Host, hostdata);
165} 165}
166static struct us_data inline *host_to_us(struct Scsi_Host *host) { 166static inline struct us_data *host_to_us(struct Scsi_Host *host) {
167 return (struct us_data *) host->hostdata; 167 return (struct us_data *) host->hostdata;
168} 168}
169 169