diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-08 14:47:56 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-09 12:43:19 -0800 |
commit | 84558ff77067e761e9e1bc70fff79079c12d5ac9 (patch) | |
tree | 5104e1cbe757b98695eedf4cfab20c609cc79348 /drivers/clk/pxa/clk-pxa.h | |
parent | 295face99be9c1a214c2a80c2c6a889dbff5e1cf (diff) |
clk: pxa: Use __iomem properly and staticize lock variable
This function is passed an __iomem pointer but we use a u32
pointer instead which makes checkers like spare complain.
Furthermore, "lock" is a pretty poor variable name for a string
that will go into lockdep reports and the symbol isn't marked
static. Cleanup all this.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/pxa/clk-pxa.h')
-rw-r--r-- | drivers/clk/pxa/clk-pxa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/pxa/clk-pxa.h b/drivers/clk/pxa/clk-pxa.h index 58abfa816d53..2b90c5917b32 100644 --- a/drivers/clk/pxa/clk-pxa.h +++ b/drivers/clk/pxa/clk-pxa.h @@ -155,8 +155,8 @@ void clk_pxa_dt_common_init(struct device_node *np); void pxa2xx_core_turbo_switch(bool on); void pxa2xx_cpll_change(struct pxa2xx_freq *freq, - u32 (*mdrefr_dri)(unsigned int), u32 *mdrefr, - u32 *cccr); + u32 (*mdrefr_dri)(unsigned int), void __iomem *mdrefr, + void __iomem *cccr); int pxa2xx_determine_rate(struct clk_rate_request *req, struct pxa2xx_freq *freqs, int nb_freqs); |