From: Ian Abbott Date: Fri, 1 May 2015 17:03:56 +0000 (+0100) Subject: staging: comedi: mite: move #include X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=272b1ae57828b99c932d518da6f174bcb72b87f7;p=linux-beck.git staging: comedi: mite: move #include The Comedi driver modules build fine if the inclusion of is removed from "mite.h", so remove it. However, since "mite.c" calls `kzalloc()`, include there. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/mite.c b/drivers/staging/comedi/drivers/mite.c index e43a0c8323c1..e45ce003ec23 100644 --- a/drivers/staging/comedi/drivers/mite.c +++ b/drivers/staging/comedi/drivers/mite.c @@ -47,6 +47,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include +#include #include "../comedi_pci.h" diff --git a/drivers/staging/comedi/drivers/mite.h b/drivers/staging/comedi/drivers/mite.h index b3ca7fc3a31e..cf45f88486e9 100644 --- a/drivers/staging/comedi/drivers/mite.h +++ b/drivers/staging/comedi/drivers/mite.h @@ -20,7 +20,6 @@ #define _MITE_H_ #include -#include #include "../comedi_pci.h" #define PCIMIO_COMPAT