From: Ian Abbott Date: Fri, 5 Jun 2015 17:30:09 +0000 (+0100) Subject: staging: comedi: das08.h: make self-reliant X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7cab30f4c4364f72ccd7a034cf81fba7700525;p=pandora-kernel.git 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 to declare it. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed