diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2021-11-17 13:06:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 16:48:59 +0100 |
commit | 44fb7affcfa4e968e9c2ede023ef0e15f06d8209 (patch) | |
tree | 2acb8335c22d9791a110204aa185cbec6b24e449 /drivers/comedi/drivers/adl_pci9118.c | |
parent | comedi: Move and rename "8255.h" to <linux/comedi/comedi_8255.h> (diff) | |
download | linux-44fb7affcfa4e968e9c2ede023ef0e15f06d8209.tar.xz linux-44fb7affcfa4e968e9c2ede023ef0e15f06d8209.zip |
comedi: Move "comedi_8254.h" to <linux/comedi/comedi_8254.h>
Some of the header files in "drivers/comedi/drivers/" are common enough
to be useful to out-of-tree comedi driver modules. Using them for
out-of-tree module builds is hampered by the headers being outside the
"include/" directory so it is desirable to move them.
There are about a couple of dozen or so Comedi device drivers that use
the "comedi_8254" module to add timers based on the venerable 8254
Programmable Interval Timer chip. The macros and declarations to use
that module are in the "comedi_8254.h" header file in the comedi
"drivers" directory. Move it into "include/linux/comedi/".
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20211117120604.117740-5-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi/drivers/adl_pci9118.c')
-rw-r--r-- | drivers/comedi/drivers/adl_pci9118.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/comedi/drivers/adl_pci9118.c b/drivers/comedi/drivers/adl_pci9118.c index 248cec3d894f..9a816c718303 100644 --- a/drivers/comedi/drivers/adl_pci9118.c +++ b/drivers/comedi/drivers/adl_pci9118.c @@ -79,9 +79,9 @@ #include <linux/interrupt.h> #include <linux/io.h> #include <linux/comedi/comedi_pci.h> +#include <linux/comedi/comedi_8254.h> #include "amcc_s5933.h" -#include "comedi_8254.h" /* * PCI BAR2 Register map (dev->iobase) |