From: Ian Abbott Date: Fri, 22 May 2015 17:32:31 +0000 (+0100) Subject: staging: comedi: comedi_8254.h: make self-reliant X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~537 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b727255f01fa519e1bfb047e3eefb9bb74512404;p=pandora-kernel.git staging: comedi: comedi_8254.h: make self-reliant The Comedi "comedi_8254.h" header file is included by various Comedi drivers with timer/counters based on the 8254 chip. The drivers do not compile cleanly if this header file is included first. It uses pointers to the `struct comedi_device`, `struct comedi_subdevice`, and `struct comedi_insn` structures in various function prototypes, so declare those as incomplete types. It use the `bool` type, so include . It also uses the `__iomem` tag, but that seems to be taken care of indirectly by including . Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed