summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_opti.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-25 04:22:49 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 21:44:17 +0200
commit959471936241bd83da7d0a76411cef6772140fe6 (patch)
treeabccf1d3931c17b581ee2c85cda05a603adcfb0f /drivers/ata/pata_opti.c
parentlibata: stop overloading port_info->private_data (diff)
downloadlinux-959471936241bd83da7d0a76411cef6772140fe6.tar.xz
linux-959471936241bd83da7d0a76411cef6772140fe6.zip
libata: kill port_info->sht and ->irq_handler
libata core layer doesn't care about sht or ->irq_handler. Those are only of interest to the LLD during initialization. This is confusing and has caused several drivers to have duplicate unused initializers for these fields. Currently only sata_nv uses these fields. Make sata_nv use ->private_data, which is supposed to carry LLD-specific information, instead and kill ->sht and ->irq_handler. nv_pi_priv structure is defined and struct literals are used to initialize private_data. Notational overhead is negligible. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/pata_opti.c')
0 files changed, 0 insertions, 0 deletions