diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-05 17:36:03 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-08 10:29:59 -0700 |
| commit | 23e79f81ade338d1ca9283895088b5d0f57bc4df (patch) | |
| tree | 25cc00bbfced31bacecb33916dbeb5859fd480b0 /tools/perf/scripts/python | |
| parent | 3cb65d4d9dfe058c58755d5b371f4d071437a6c1 (diff) | |
staging: comedi: dt2801: remove 'boardtype' macro
The 'boardtype' macro relies on a local variable having a specific
name and yields a struct derived from that local variable.
Replace the macro with local variables and use the comedi_board()
helper to get the struct as a pointer. Use pointer access when
using the variable.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
