瀏覽代碼

staging: comedi: ni_labpc_cs: include new "comedi_pcmcia.h" header

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>
Ian Abbott 10 年之前
父節點
當前提交
778edf45e6
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      drivers/staging/comedi/drivers/ni_labpc_cs.c

+ 1 - 5
drivers/staging/comedi/drivers/ni_labpc_cs.c

@@ -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"