From: Ian Abbott Date: Fri, 1 May 2015 17:03:59 +0000 (+0100) Subject: staging: comedi: mite.h: remove "../comedi_pci.h" and make self-reliant X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~905 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95f212de8ff7f5058ab2c1eb60b8e79d341111b;p=pandora-kernel.git staging: comedi: mite.h: remove "../comedi_pci.h" and make self-reliant "mite.h" relies on a lot of things declared including "../comedi_pci.h", but doesn't need anything in "../comedi_pci.h" itself. None of the Comedi modules that include "mite.h" rely on it to include "../comedi_pci.h" on their behalf. Remove the inclusion of "../comedi_pci.h" from "mite.h", and add enough other includes and (incomplete) `struct` declarations to make it compile without warnings or errors even when included first in a .c file. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed