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