aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 3d8b62f7441..cc49a0d3089 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -5506,30 +5506,6 @@ void ata_host_resume(struct ata_host *host)
5506#endif 5506#endif
5507 5507
5508/** 5508/**
5509 * ata_port_start - Set port up for dma.
5510 * @ap: Port to initialize
5511 *
5512 * Called just after data structures for each port are
5513 * initialized. Allocates space for PRD table.
5514 *
5515 * May be used as the port_start() entry in ata_port_operations.
5516 *
5517 * LOCKING:
5518 * Inherited from caller.
5519 */
5520int ata_port_start(struct ata_port *ap)
5521{
5522 struct device *dev = ap->dev;
5523
5524 ap->prd = dmam_alloc_coherent(dev, ATA_PRD_TBL_SZ, &ap->prd_dma,
5525 GFP_KERNEL);
5526 if (!ap->prd)
5527 return -ENOMEM;
5528
5529 return 0;
5530}
5531
5532/**
5533 * ata_dev_init - Initialize an ata_device structure 5509 * ata_dev_init - Initialize an ata_device structure
5534 * @dev: Device structure to initialize 5510 * @dev: Device structure to initialize
5535 * 5511 *
@@ -6757,7 +6733,6 @@ EXPORT_SYMBOL_GPL(ata_xfer_mode2mask);
6757EXPORT_SYMBOL_GPL(ata_xfer_mode2shift); 6733EXPORT_SYMBOL_GPL(ata_xfer_mode2shift);
6758EXPORT_SYMBOL_GPL(ata_mode_string); 6734EXPORT_SYMBOL_GPL(ata_mode_string);
6759EXPORT_SYMBOL_GPL(ata_id_xfermask); 6735EXPORT_SYMBOL_GPL(ata_id_xfermask);
6760EXPORT_SYMBOL_GPL(ata_port_start);
6761EXPORT_SYMBOL_GPL(ata_do_set_mode); 6736EXPORT_SYMBOL_GPL(ata_do_set_mode);
6762EXPORT_SYMBOL_GPL(ata_std_qc_defer); 6737EXPORT_SYMBOL_GPL(ata_std_qc_defer);
6763EXPORT_SYMBOL_GPL(ata_noop_qc_prep); 6738EXPORT_SYMBOL_GPL(ata_noop_qc_prep);