On Tue, 2015-03-10 at 16:10 +0000, Ian Abbott wrote: > "comedidev.h" includes PCI-specific stuff that gets included by all > comedi drivers including non-PCI ones. Separate it out into its own > header "comedi_pci.h". Make the new header include <linux/pci.h> and > "comedidev.h" so that comedi PCI drivers do not need to include them > explicitly.
Isn't the kernel progressing to avoid indirect includes? Perhaps it'd be nicer to move generic comedi .h files into a more common location and change the include path so that the include statements don't have to be relative? Maybe add an include/comedi/ directory? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/