]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: don't set hwif->dma_ops in init_dma() method
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 6 Jan 2009 16:21:01 +0000 (17:21 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:21:01 +0000 (17:21 +0100)
commit3f023b0138b7db21bac0074b3d5ca2854372c6ff
tree3142f3c13640c040d12bc4335635cd544be41760
parent391ad1908a9c13d457ea12ce1508d6b8a7ba72ad
ide: don't set hwif->dma_ops in init_dma() method

Replace setting of 'hwif->dma_ops' in the 'alim15x3' and 'palm_bk3710' drivers'
init_dma() methods with initializing the corresponding member of their 'struct
ide_port_info' instances and remove such setting from the 'hpt366' driver that
just doesn't use 'sff_dma_ops'. Along with some code save, this prepares us for
the next patch...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/alim15x3.c
drivers/ide/hpt366.c
drivers/ide/palm_bk3710.c