summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-11-02 19:18:01 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-06 09:28:58 +0100
commitb07244ceeadd30be344cb49f9bc96f8b8b36a6a4 (patch)
tree7d916c9f7bd1b5131a5a1fea40f179e7a7bd3f2e /include/linux/errqueue.h
parent4dba6c02cd2bd4714db4f0ccd3ebc3983ff0e039 (diff)
staging: comedi: cb_pcidas64: remove board(dev) inline
The `board(dev)` inline function returns `dev->board_ptr` cast from `const void *` to `struct pcidas64_board *`. It really ought to return a `const struct pcidas64_board *`. Rather than fix the function, just remove it and replace the calls with a local variable `thisboard` in the functions that call it. `thisboard` is set to the result of the common inline function `comedi_board(dev)` defined in "comedidev.h". Fix a little resulting fall-out from the inline function `ai_dma_ring_count(board)` whose parameter should have been a const pointer. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions