From 272b1ae57828b99c932d518da6f174bcb72b87f7 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 1 May 2015 18:03:56 +0100 Subject: 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 --- drivers/staging/comedi/drivers/mite.c | 1 + drivers/staging/comedi/drivers/mite.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3