From: Greg Kroah-Hartman Date: Sat, 1 May 2010 20:44:56 +0000 (-0700) Subject: Staging: comedi: move an include file out of comedlib.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2a0eab0a121a95be60a81911df07cc21e4ee429;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: comedi: move an include file out of comedlib.h The one .c file that needs it can properly include it. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedilib.h b/drivers/staging/comedi/comedilib.h index deb28cb234a9..4f86964835a9 100644 --- a/drivers/staging/comedi/comedilib.h +++ b/drivers/staging/comedi/comedilib.h @@ -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); diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c index 4e6797a0b1e2..429ec703d596 100644 --- a/drivers/staging/comedi/drivers/comedi_bond.c +++ b/drivers/staging/comedi/drivers/comedi_bond.c @@ -87,6 +87,7 @@ Configuration Options: * options that are used with comedi_config. */ +#include "../comedi.h" #include "../comedilib.h" #include "../comedidev.h" #include