Skip to content

Commit

Permalink
ARM: 5639/1: arm: clkdev.c should include <linux/clk.h>
Browse files Browse the repository at this point in the history
<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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Hartley Sweeten authored and Russell King committed Aug 5, 2009
1 parent 65a5053 commit c0c60c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/common/clkdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c0c60c4

Please sign in to comment.