staging: comedi: comedidev.h: make comedi_board() parameter const
authorIan Abbott <abbotti@mev.co.uk>
Fri, 2 Nov 2012 19:18:00 +0000 (19:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:28:58 +0000 (09:28 +0100)
commit4dba6c02cd2bd4714db4f0ccd3ebc3983ff0e039
tree62e43b86632ce6dda4706b0a6067c04b18123179
parent46ca84c4659f24776f7b901dd6054e3c6dfc115e
staging: comedi: comedidev.h: make comedi_board() parameter const

The inline function `comedi_board(dev)` merely returns `dev->board_ptr`.
It does not modify any members of `*dev` so make its parameter a const
pointer.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h