From: Jeff Garzik Date: Tue, 26 Sep 2006 21:10:53 +0000 (-0400) Subject: [libata] pata_serverworks: fill in ->irq_clear hook X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efbf3f14204b77e6afc8c13571357173de9ab707;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [libata] pata_serverworks: fill in ->irq_clear hook Required by libata, as it is called unconditionally. Fixes an obvious oops. Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 75cc5a22da0c..d62051b8da05 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c @@ -356,6 +356,8 @@ static struct ata_port_operations serverworks_osb4_port_ops = { .data_xfer = ata_pio_data_xfer, .irq_handler = ata_interrupt, + .irq_clear = ata_bmdma_irq_clear, + .port_start = ata_port_start, .port_stop = ata_port_stop, .host_stop = ata_host_stop @@ -389,6 +391,8 @@ static struct ata_port_operations serverworks_csb_port_ops = { .data_xfer = ata_pio_data_xfer, .irq_handler = ata_interrupt, + .irq_clear = ata_bmdma_irq_clear, + .port_start = ata_port_start, .port_stop = ata_port_stop, .host_stop = ata_host_stop