summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cs5536.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2009-04-18 17:42:20 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-04-18 17:42:20 +0200
commit15da90b516e9da92cc1d90001e640fd6707d0e27 (patch)
treeba5b28a326c5bef3bff3f14b2d1eafeca3e5529e /drivers/ide/cs5536.c
parentf505d49ffd25ed062e76ffd17568d3937fcd338c (diff)
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 <sshtylyov@ru.mvista.com> Reported-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/cs5536.c')
-rw-r--r--drivers/ide/cs5536.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/cs5536.c b/drivers/ide/cs5536.c
index 353a35bbba6..0332a95eefd 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 = {