]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ARM: 5639/1: arm: clkdev.c should include <linux/clk.h>
authorHartley Sweeten <hartleys@visionengravers.com>
Tue, 4 Aug 2009 22:38:06 +0000 (23:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Aug 2009 21:06:58 +0000 (22:06 +0100)
<linux/clk.h> should be included to get the base API prototypes.

This fixes the following sparse warnings:

  arch/arm/common/clkdev.c:65:12:
    warning: symbol 'clk_get_sys' was not declared. Should it be static?

  arch/arm/common/clkdev.c:79:12:
    warning: symbol 'clk_get' was not declared. Should it be static?

  arch/arm/common/clkdev.c:87:6:
    warning: symbol 'clk_put' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/clkdev.c

index f37afd9422f3b1905884f525b58b19fcc4dd65f9..aae5bc01acc80d20d1f4cfe46c048d78455a67cb 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/err.h>
 #include <linux/string.h>
 #include <linux/mutex.h>
+#include <linux/clk.h>
 
 #include <asm/clkdev.h>
 #include <mach/clkdev.h>