summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-03-28 19:23:05 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-04-01 01:49:34 +0400
commit92ce52695ccf2b6c4ef7eb02e1bee1bcbf5fde89 (patch)
tree3208aa2ee1e8ffc3ea00279ad49f7172435f33b4
parent472af2b05bdefcaee7e754e22cbf131110017ad6 (diff)
downloadlinux-92ce52695ccf2b6c4ef7eb02e1bee1bcbf5fde89.tar.xz
[media] staging: altera-jtag needs delay.h
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>
-rw-r--r--drivers/staging/altera-stapl/altera-jtag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/altera-stapl/altera-jtag.c b/drivers/staging/altera-stapl/altera-jtag.c
index 6b633b179a7e..876308858b82 100644
--- a/drivers/staging/altera-stapl/altera-jtag.c
+++ b/drivers/staging/altera-stapl/altera-jtag.c
@@ -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>