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 deb28cb..4f86964 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 4e6797a..429ec70 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>