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?


_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to