diff options
author | Alan | 2007-03-02 01:56:15 +0100 |
---|---|---|
committer | Jeff Garzik | 2007-04-28 20:15:55 +0200 |
commit | cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a (patch) | |
tree | 9c095bdb9056f5b36d3d3640a3f497cabfdd1f92 /include/linux/libata.h | |
parent | [libata] sata_mv: clean up DMA boundary issues, turn on 64-bit DMA (diff) | |
download | kernel-qcow2-linux-cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a.tar.gz kernel-qcow2-linux-cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a.tar.xz kernel-qcow2-linux-cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a.zip |
libata: dev_config does not need ap and adev passing
It used to be impossible to get from ata_device to ata_port but that is
no longer true. Various methods have been cleaned up over time but
dev_config still takes both and most users don't need both anyway. Tidy
this one up
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index a41749820964..84787cad860d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -597,7 +597,7 @@ struct ata_port { struct ata_port_operations { void (*port_disable) (struct ata_port *); - void (*dev_config) (struct ata_port *, struct ata_device *); + void (*dev_config) (struct ata_device *); void (*set_piomode) (struct ata_port *, struct ata_device *); void (*set_dmamode) (struct ata_port *, struct ata_device *); |