summaryrefslogtreecommitdiff
path: root/drivers/comedi/drivers/ni_mio_cs.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2021-11-17 15:06:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 18:48:59 +0300
commit631e272b12075b60f7c7fc4f84f937d78a699844 (patch)
tree85fe8d3be20e70551590fc14300ed12bc3abe952 /drivers/comedi/drivers/ni_mio_cs.c
parent55d0f80ecf0be13c2fdfa0c0917436f88f6502ff (diff)
downloadlinux-631e272b12075b60f7c7fc4f84f937d78a699844.tar.xz
comedi: Move and rename "8255.h" to <linux/comedi/comedi_8255.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 Comedi device drivers that use the "comedi_8255" module to add digital I/O subdevices based on the venerable 8255 Programmable Peripheral Interface chip. The macros and declarations to use that module are in the "8255.h" header file in the comedi "drivers" directory. Move it into "include/linux/comedi/" and rename it to "comedi_8255.h" for naming consistency reasons. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Link: https://lore.kernel.org/r/20211117120604.117740-4-abbotti@mev.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi/drivers/ni_mio_cs.c')
-rw-r--r--drivers/comedi/drivers/ni_mio_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/comedi/drivers/ni_mio_cs.c b/drivers/comedi/drivers/ni_mio_cs.c
index bd967cdb2036..796f0b743772 100644
--- a/drivers/comedi/drivers/ni_mio_cs.c
+++ b/drivers/comedi/drivers/ni_mio_cs.c
@@ -29,9 +29,9 @@
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/comedi/comedi_pcmcia.h>
+#include <linux/comedi/comedi_8255.h>
#include "ni_stc.h"
-#include "8255.h"
/*
* AT specific setup