Re: [PATCH 00/56] staging: comedi: introduce comedi_pci.h header

From: Joe Perches
Date: Tue Mar 10 2015 - 12:25:28 EST

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at