From: Randy Dunlap Date: Fri, 5 Jun 2009 18:10:42 +0000 (-0700) Subject: Staging: comedi: uses udelay, needs delay.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9c51375644e39f9626a4be4101e22d4841980a8;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Staging: comedi: uses udelay, needs delay.h comedi driver(s) use udelay() so they need to #include delay.h. drivers/staging/comedi/drivers/adq12b.c: In function 'adq12b_ai_rinsn': drivers/staging/comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay' Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 7a1ccde8358..a54cc3137da 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include