Skip to contentSkip to conversation

clps711x: fix compilation breakage

PATCH New Linus Walleij 2 participants 3 messages Jan 4, 2012

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

PATCH 1/1 clps711x: fix compilation breakage

The restart patches defined a new restart function in common.c but it needs to be declared in common.h to compile properly.

---
 arch/arm/mach-clps711x/common.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-clps711x/common.h +1 -0
index 2b8b801..fc0f065 100644
@@ -9,3 +9,4 @@ struct sys_timer;
 extern void clps711x_map_io(void);
 extern void clps711x_init_irq(void);
 extern struct sys_timer clps711x_timer;
+extern void clps711x_restart(char mode, const char *cmd);
Signature · 1 line
1.7.6.4
#1 lore raw

PATCH 1/1 clps711x: fix compilation breakage

Quoted 2 lines · Linus Walleij

The restart patches defined a new restart function in common.c but it needs to be declared in common.h to compile properly.

Hmm, this ought to be merged into the commit which created the breakage - are you ok if I just fix that commit?

#2 lore raw

PATCH 1/1 clps711x: fix compilation breakage

Quoted 6 lines · Russell King - ARM Linux
Quoted 2 lines · Linus Walleij

The restart patches defined a new restart function in common.c but it needs to be declared in common.h to compile properly.

Hmm, this ought to be merged into the commit which created the breakage - are you ok if I just fix that commit?

Of course, go ahead.

Thanks Russell,
Linus Walleij