Staging: comedi: move an include file out of comedlib.h
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 1 May 2010 20:44:56 +0000 (13:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:00 +0000 (11:36 -0700)
The one .c file that needs it can properly include it.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedilib.h
drivers/staging/comedi/drivers/comedi_bond.c

index deb28cb234a991e96d1a2790183fecedaf454f6b..4f86964835a99d546447e2876dbf7865b2a59711 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef _LINUX_COMEDILIB_H
 #define _LINUX_COMEDILIB_H
 
-#include "comedi.h"
-
 /* these functions may not be called at real-time priority */
 
 void *comedi_open(const char *path);
index 4e6797a0b1e2cfb2a880840be79c270a2a772c28..429ec703d596ea126cebf7f7b3b17135913acb51 100644 (file)
@@ -87,6 +87,7 @@ Configuration Options:
  * options that are used with comedi_config.
  */
 
+#include "../comedi.h"
 #include "../comedilib.h"
 #include "../comedidev.h"
 #include <linux/string.h>