From: H Hartley Sweeten <hsweeten@visionengravers.com> Date: Wed, 24 Jul 2013 16:55:00 +0000 (-0700) Subject: staging: comedi: ni_mio_common: needs <linux/delay.h> X-Git-Tag: firefly_0821_release~176^2~5471^2~644 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=305591a58d855d0f82a582059596124f9a3503c2;p=firefly-linux-kernel-4.4.55.git staging: comedi: ni_mio_common: needs <linux/delay.h> As reported by the kbuild test robot: Commit: d92fef8d2552ffde42b6092cb467f3021ebf8b98 staging: comedi: do not include <linux/delay.h> if its not needed Removed the include from the ni_atmio driver, which did not need it. Unfortunately, this driver includes ni_mio_common.c, which does need it. Add the include of <linux/delay.h> to the ni_mio_common.c source where it is needed. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c index 458331d3fcb7..04f4b7dce332 100644 --- a/drivers/staging/comedi/drivers/ni_mio_common.c +++ b/drivers/staging/comedi/drivers/ni_mio_common.c @@ -58,6 +58,7 @@ #include <linux/interrupt.h> #include <linux/sched.h> +#include <linux/delay.h> #include "8255.h" #include "mite.h" #include "comedi_fc.h"