summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-25 12:22:49 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:17 -0400
commit959471936241bd83da7d0a76411cef6772140fe6 (patch)
treeabccf1d3931c17b581ee2c85cda05a603adcfb0f /drivers/ata/pata_mpc52xx.c
parent887125e3740283be25564bfc6fb5d24974b651ab (diff)
downloadblackbird-op-linux-959471936241bd83da7d0a76411cef6772140fe6.tar.gz
blackbird-op-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_mpc52xx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud