diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-23 21:29:36 +0900 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-09-23 14:44:03 -0700 |
commit | 5963f19ca2b7e46cafc9647c8390bb20563b91cc (patch) | |
tree | 1f796419023e78e1355f727f02cedd4dcd35f899 /include/linux/clk-provider.h | |
parent | c72f2883c31e8c21832f3d48d5aa6ee8d83b3c43 (diff) | |
download | talos-obmc-linux-5963f19ca2b7e46cafc9647c8390bb20563b91cc.tar.gz talos-obmc-linux-5963f19ca2b7e46cafc9647c8390bb20563b91cc.zip |
clk: change the type of clk_hw_onecell_data.num to unsigned int
The "num" is the number of clk_hw entries in the structure, so
"unsigned int" would be a better fit. (size_t looks like data
size we count by byte.)
Besides, struct clk_onecell_data already uses unsigned int for
"clk_num".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 37b8fdce0e49..af596381fa0f 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -772,7 +772,7 @@ struct clk_onecell_data { }; struct clk_hw_onecell_data { - size_t num; + unsigned int num; struct clk_hw *hws[]; }; |