aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ata_platform.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-08-23 14:45:47 +0400
committerTejun Heo <tj@kernel.org>2014-08-23 13:05:08 -0400
commit53f3cc46336b9e514c98556b4a009a69ed808d3b (patch)
treeaaa6199a54836ae9d7f8c1021134b45feb6f1fdb /include/linux/ata_platform.h
parentpata_of_platform: Remove "electra-ide" quirk (diff)
downloadlinux-dev-53f3cc46336b9e514c98556b4a009a69ed808d3b.tar.xz
linux-dev-53f3cc46336b9e514c98556b4a009a69ed808d3b.zip
pata_platform: Remove useless irq_flags field
IRQ flags can be obtained from resource structure, there are no need to use additional field in the platform_data to store these values. This patch removes this field and convert existing users of this driver to use IRQ flags from the resources. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ata_platform.h')
-rw-r--r--include/linux/ata_platform.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ata_platform.h b/include/linux/ata_platform.h
index b9fde17f767c..5c618a084225 100644
--- a/include/linux/ata_platform.h
+++ b/include/linux/ata_platform.h
@@ -8,11 +8,6 @@ struct pata_platform_info {
* spacing used by ata_std_ports().
*/
unsigned int ioport_shift;
- /*
- * Indicate platform specific irq types and initial
- * IRQ flags when call request_irq()
- */
- unsigned int irq_flags;
};
extern int __pata_platform_probe(struct device *dev,