diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-17 14:26:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:53:53 -0800 |
| commit | 27f3f4d411cb700a5514bfdf93929d1402683061 (patch) | |
| tree | b31005f862caaa52867502fc9ac963534c8ffdf4 /include/linux/debugobjects.h | |
| parent | ba93331e33c4600fe72bcbbe1bf8afb72b425098 (diff) | |
staging: comedi: pcl812: clarify dma channel request in pcl812_attach()
All the board types that can do DMA can use DMA channels 3 or 1. Remove
the 'DMAbits', which is a mask of the valid channels, from the boardinfo
and replace it with a bit-field flag 'has_dma'.
Refactor pcl812_attach() to use the new flag and remove the need for the
goto.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
