[media] staging: altera-jtag needs delay.h
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 28 Mar 2011 15:23:05 +0000 (12:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 31 Mar 2011 21:49:34 +0000 (18:49 -0300)
altera-jtag.c needs to include <linux/delay.h> to fix a build error:

drivers/staging/altera-stapl/altera-jtag.c:398: error: implicit declaration of function 'udelay'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/altera-stapl/altera-jtag.c

index 6b633b1..8763088 100644 (file)
@@ -23,6 +23,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <linux/delay.h>
 #include <linux/firmware.h>
 #include <linux/slab.h>
 #include <staging/altera.h>