Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 5639/1: arm: clkdev.c should include <linux/clk.h>

<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>

authored by

Hartley Sweeten and committed by
Russell King
c0c60c4b 65a5053b

+1
+1
arch/arm/common/clkdev.c
··· 17 17 #include <linux/err.h> 18 18 #include <linux/string.h> 19 19 #include <linux/mutex.h> 20 + #include <linux/clk.h> 20 21 21 22 #include <asm/clkdev.h> 22 23 #include <mach/clkdev.h>