summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 10:20:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:05:21 -0700
commit6293e35742550320b1720044f9969d9544a5deaa (patch)
treeb0a4221431646fb9dcb9e802cc2b84086601d032 /include/linux/stackprotector.h
parenta25a701afa508f58f622b8121cb2dcfdfaf6e9d2 (diff)
staging: comedi: ni_stc.h: remove boardtype macro
This macro relies on a local variable having a specific name and returns an object that variable points to. This object is the boardinfo used by the driver. The comedi core provides the comedi_board() helper to return a const pointer to the boardinfo. Remove the 'boardtype' macro and fix all the users of the 'boardtype' macro to use the comedi_board() helper to get the const boardinfo pointer. 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>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions