Skip to contentSkip to conversation

staging: altera-jtag needs delay.h

PATCH In review Randy Dunlap 3 participants 4 messages Mar 28, 2011 – May 19, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: altera-jtag needs delay.h

From: Randy Dunlap <[email protected]>

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'

Cc Igor M. Liplianin <[email protected]>
---
 drivers/staging/altera-stapl/altera-jtag.c |    1 +
 1 file changed, 1 insertion(+)

Somehow I was supposed to know to send this to Mauro instead of to Greg, but I don't see anything in drivers/staging/altera-stapl/ that says that.

drivers/staging/altera-stapl/altera-jtag.c +1 -0
@@ -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>

--

Acked-by on v1 1/1
#1 lore raw

Em 28-03-2011 12:23, Randy Dunlap escreveu:

Quoted 7 lines

From: Randy Dunlap <[email protected]>

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'

Quoted 7 lines
Cc Igor M. Liplianin <[email protected]>
---
 drivers/staging/altera-stapl/altera-jtag.c |    1 +
 1 file changed, 1 insertion(+)

Somehow I was supposed to know to send this to Mauro instead of to Greg, but I don't see anything in drivers/staging/altera-stapl/ that says that.

Ah, yes, we need to add a readme file there stating about that.

Greg, you may add it on your tree, or if you prefer, I can just add here for my next upstream pull.

Thanks,
Mauro.

Quoted 13 lines
drivers/staging/altera-stapl/altera-jtag.c +1 -1
@@ -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>
--
#2 lore raw
Quoted 15 lines · Mauro Carvalho Chehab

Em 28-03-2011 12:23, Randy Dunlap escreveu:

Quoted 7 lines

From: Randy Dunlap <[email protected]>

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'

Quoted 5 lines
Cc Igor M. Liplianin <[email protected]>
---
 drivers/staging/altera-stapl/altera-jtag.c |    1 +
 1 file changed, 1 insertion(+)
Quoted 7 lines
Quoted 2 lines

Somehow I was supposed to know to send this to Mauro instead of to Greg, but I don't see anything in drivers/staging/altera-stapl/ that says that.

Ah, yes, we need to add a readme file there stating about that.

Greg, you may add it on your tree, or if you prefer, I can just add here for my next upstream pull.

I see this in my tree already, git commit 92ce52695ccf2b6c4ef7eb02e1bee1bcbf5fde89, what happened to need this again?

confused,

greg k-h

#3 lore raw
Quoted 19 lines · Greg KH
Quoted 18 lines · Mauro Carvalho Chehab

Em 28-03-2011 12:23, Randy Dunlap escreveu:

Quoted 7 lines

From: Randy Dunlap <[email protected]>

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'

Quoted 7 lines
Cc Igor M. Liplianin <[email protected]>
---
 drivers/staging/altera-stapl/altera-jtag.c |    1 +
 1 file changed, 1 insertion(+)

Somehow I was supposed to know to send this to Mauro instead of to Greg, but I don't see anything in drivers/staging/altera-stapl/ that says that.

Quoted 8 lines
Quoted 4 lines

Ah, yes, we need to add a readme file there stating about that.

Greg, you may add it on your tree, or if you prefer, I can just add here for my next upstream pull.

I see this in my tree already, git commit 92ce52695ccf2b6c4ef7eb02e1bee1bcbf5fde89, what happened to need this again?

I think that Mauro is just replying to old emails (guess he's just trying to catch up...).

Signature · 2 lines
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***