From: Sergei Shtylyov Date: Sat, 18 Apr 2009 15:42:20 +0000 (+0200) Subject: cs5536: define dma_sff_read_status() method X-Git-Tag: v2.6.30-rc7~6^2~17 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=15da90b516e9da92cc1d90001e640fd6707d0e27;p=safe%2Fjmp%2Flinux-2.6 cs5536: define dma_sff_read_status() method 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 Reported-by: Arnd Hannemann Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/cs5536.c b/drivers/ide/cs5536.c index 353a35b..0332a95 100644 --- a/drivers/ide/cs5536.c +++ b/drivers/ide/cs5536.c @@ -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 = {