Add irq_flags to struct pata_platform_info
authorSonic Zhang <sonic.adi@gmail.com>
Fri, 15 Jun 2007 09:45:49 +0000 (17:45 +0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 9 Jul 2007 16:17:34 +0000 (12:17 -0400)
commit5f45bc50976ee1f408f7171af155aec646655a37
treee3d258af49914c22172ebcb9abf12914d6635b8f
parentd0e580316e3db9f5cf6a605cc311ffb0372f0a35
Add irq_flags to struct pata_platform_info

On some embedded platforms, such as blackfin, the gpio interrupt for
IDE interface is designed to be triggered with high voltage. The gpio
port should be configured properly by set_irq_type() when register
the irq. This patch enable the generic pata platform driver to
accept platform irq flags data.

Signed-off-by: Sonic Zhang <sonic.adi@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_platform.c
include/linux/pata_platform.h