]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: s626: factor out the dma buffer allocation
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:23:57 +0000 (13:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:31 +0000 (09:37 -0700)
commitb7047895b9c9deee0b0f4cb2a0a788c189f985f2
treee991436490d67ef9a376893909eedea6177f56bd
parent97d87e00e3d6bdc8f3de606dd7cc5aa149709435
staging: comedi: s626: factor out the dma buffer allocation

To make the attach a bit cleaner, factor the dma buffer allocation
out of attach_pci() into a new function.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c