cs5536: define dma_sff_read_status() method
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 18 Apr 2009 15:42:20 +0000 (17:42 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 18 Apr 2009 15:42:20 +0000 (17:42 +0200)
The driver somehow got merged with the initializer for the dma_sff_read_status()
method missing which caused kernel panic on bootup.

This should fix the kernel.org bug #13026...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Reported-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/cs5536.c

index 353a35b..0332a95 100644 (file)
@@ -236,6 +236,7 @@ static const struct ide_dma_ops cs5536_dma_ops = {
        .dma_test_irq           = ide_dma_test_irq,
        .dma_lost_irq           = ide_dma_lost_irq,
        .dma_timer_expiry       = ide_dma_sff_timer_expiry,
+       .dma_sff_read_status    = ide_dma_sff_read_status,
 };
 
 static const struct ide_port_info cs5536_info = {