diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-30 11:05:32 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-10-20 20:24:20 +0300 |
commit | a501a14e38cc4d8e9c91bb508cdca7032d53f717 (patch) | |
tree | b5319acf66278661adf6cd8e512857ad25776a25 /drivers/clk/sunxi-ng/ccu_div.h | |
parent | 35b1fc2cd7106f51bf318ac4dbc5c72abd5656c1 (diff) | |
download | linux-a501a14e38cc4d8e9c91bb508cdca7032d53f717.tar.xz |
clk: sunxi-ng: Rename the internal structures
Rename the structures meant to be embedded in other structures to make it
consistent with the mux structure name
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_div.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu_div.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_div.h b/drivers/clk/sunxi-ng/ccu_div.h index 34c338832c0d..06540f7cf41c 100644 --- a/drivers/clk/sunxi-ng/ccu_div.h +++ b/drivers/clk/sunxi-ng/ccu_div.h @@ -20,7 +20,7 @@ #include "ccu_mux.h" /** - * struct _ccu_div - Internal divider description + * struct ccu_div_internal - Internal divider description * @shift: Bit offset of the divider in its register * @width: Width of the divider field in its register * @max: Maximum value allowed for that divider. This is the @@ -36,7 +36,7 @@ * It is basically a wrapper around the clk_divider functions * arguments. */ -struct _ccu_div { +struct ccu_div_internal { u8 shift; u8 width; @@ -78,7 +78,7 @@ struct _ccu_div { struct ccu_div { u32 enable; - struct _ccu_div div; + struct ccu_div_internal div; struct ccu_mux_internal mux; struct ccu_common common; }; |