diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2015-06-05 18:30:09 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-12 17:06:39 -0700 |
| commit | 3c7cab30f4c4364f72ccd7a034cf81fba7700525 (patch) | |
| tree | d206444b70a13b29ecf602ef689fc2b573a9dc60 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 2b56b35820eee978c9f4bee7e40e18ddb3d9bc26 (diff) | |
staging: comedi: das08.h: make self-reliant
The Comedi "das08.h" header file is included by drivers for the
ComputerBoards/MeasurementComputing and Keithley Metrabyte boards in the
DAS08 series. It does not compile cleanly when it is the first header
included by the ".c" file. It uses `struct comedi_device *` in the
parameter list of a function prototype, so just declare `struct
comedi_device` as an incomplete type. It also uses `bool`, so include
<linux/types.h> to declare it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
