staging: comedi: ni_labpc_cs: include new "comedi_pcmcia.h" header
authorIan Abbott <abbotti@mev.co.uk>
Fri, 30 Jan 2015 09:57:23 +0000 (09:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:05:50 +0000 (17:05 +0800)
Include the new "../comedi_pcmcia.h" header instead of
<pcmcia/cistpl.h>, <pcmcia/cisreg.h>, <pcmcia/ds.h> and
"../comedidev.h".  <pcmcia/cisreg.h> isn't needed and the others 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>
drivers/staging/comedi/drivers/ni_labpc_cs.c

index ece00109536cf15af53ca01a00a7de22b4a4db9f..746c4cd9978dead43d9b0252793de9f08a28522d 100644 (file)
@@ -55,11 +55,7 @@ NI manuals:
 
 #include <linux/module.h>
 
-#include "../comedidev.h"
-
-#include <pcmcia/cistpl.h>
-#include <pcmcia/cisreg.h>
-#include <pcmcia/ds.h>
+#include "../comedi_pcmcia.h"
 
 #include "ni_labpc.h"