aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 2d182413b1db..11beb4196c32 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1338,6 +1338,12 @@ extern const struct ata_port_operations ata_base_port_ops;
1338extern const struct ata_port_operations sata_port_ops; 1338extern const struct ata_port_operations sata_port_ops;
1339extern struct device_attribute *ata_common_sdev_attrs[]; 1339extern struct device_attribute *ata_common_sdev_attrs[];
1340 1340
1341/*
1342 * All sht initializers (BASE, PIO, BMDMA, NCQ) must be instantiated
1343 * by the edge drivers. Because the 'module' field of sht must be the
1344 * edge driver's module reference, otherwise the driver can be unloaded
1345 * even if the scsi_device is being accessed.
1346 */
1341#define ATA_BASE_SHT(drv_name) \ 1347#define ATA_BASE_SHT(drv_name) \
1342 .module = THIS_MODULE, \ 1348 .module = THIS_MODULE, \
1343 .name = drv_name, \ 1349 .name = drv_name, \