Thread (59 messages) 59 messages, 9 authors, 2011-02-01

[PATCH v2 28/28] ARM: tegra: clock: Add forward reference to struct clk

From: Colin Cross <hidden>
Date: 2011-01-26 03:21:26
Also in: lkml

On Tue, Jan 25, 2011 at 7:19 PM, Grant Likely [off-list ref] wrote:
On Sun, Jan 23, 2011 at 7:01 PM, Colin Cross [off-list ref] wrote:
quoted
Signed-off-by: Colin Cross <redacted>
Hi Colin,

This build warning exists in current mainline. ?It should go out to
Linus now instead of waiting for 2.6.29.

Acked-by: Grant Likely <redacted>

g.
quoted
---
?arch/arm/mach-tegra/include/mach/clk.h ? ?| ? ?2 ++
?arch/arm/mach-tegra/include/mach/clkdev.h | ? ?2 ++
?2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-tegra/include/mach/clk.h b/arch/arm/mach-tegra/include/mach/clk.h
index d772395..a217f68 100644
--- a/arch/arm/mach-tegra/include/mach/clk.h
+++ b/arch/arm/mach-tegra/include/mach/clk.h
@@ -20,6 +20,8 @@
?#ifndef __MACH_CLK_H
?#define __MACH_CLK_H

+struct clk;
+
?void tegra_periph_reset_deassert(struct clk *c);
?void tegra_periph_reset_assert(struct clk *c);
diff --git a/arch/arm/mach-tegra/include/mach/clkdev.h b/arch/arm/mach-tegra/include/mach/clkdev.h
index 412f5c6..66cd3f4 100644
--- a/arch/arm/mach-tegra/include/mach/clkdev.h
+++ b/arch/arm/mach-tegra/include/mach/clkdev.h
@@ -20,6 +20,8 @@
?#ifndef __MACH_CLKDEV_H
?#define __MACH_CLKDEV_H

+struct clk;
+
?static inline int __clk_get(struct clk *clk)
?{
? ? ? ?return 1;
--
1.7.3.1
It will, I just haven't sent it yet.  I have one more patch I'd like
to send with it to prevent a possible variable name conflict in
2.6.39.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help