summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2015-03-10 19:11:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-20 16:08:17 +0300
commit29321b5546f15167cdadee0d17c14debcb476e7c (patch)
tree2fc414c232e75355d24a977c210a40c5a0854385
parenta6c760b1a715c18e7599d6848bb120e8f9032273 (diff)
downloadlinux-29321b5546f15167cdadee0d17c14debcb476e7c.tar.xz
staging: comedi: ni_670x: include new "comedi_pci.h" header
Include the new "../comedi_pci.h" header instead of <linux/pci.h> and "../comedidev.h", which will now get included indirectly. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/ni_670x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/ni_670x.c b/drivers/staging/comedi/drivers/ni_670x.c
index 90b4dfa6261b..13c6ccb1fdea 100644
--- a/drivers/staging/comedi/drivers/ni_670x.c
+++ b/drivers/staging/comedi/drivers/ni_670x.c
@@ -37,11 +37,10 @@ Commands are not supported.
*/
#include <linux/module.h>
-#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
-#include "../comedidev.h"
+#include "../comedi_pci.h"
#define AO_VALUE_OFFSET 0x00
#define AO_CHAN_OFFSET 0x0c