diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-30 10:05:32 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-10-20 19:24:20 +0200 |
commit | a501a14e38cc4d8e9c91bb508cdca7032d53f717 (patch) | |
tree | b5319acf66278661adf6cd8e512857ad25776a25 /drivers/clk/sunxi-ng/ccu_frac.h | |
parent | 35b1fc2cd7106f51bf318ac4dbc5c72abd5656c1 (diff) | |
download | linux-a501a14e38cc4d8e9c91bb508cdca7032d53f717.tar.gz linux-a501a14e38cc4d8e9c91bb508cdca7032d53f717.tar.bz2 linux-a501a14e38cc4d8e9c91bb508cdca7032d53f717.zip |
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_frac.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu_frac.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_frac.h b/drivers/clk/sunxi-ng/ccu_frac.h index e4c670b1cdfe..7b1ee380156f 100644 --- a/drivers/clk/sunxi-ng/ccu_frac.h +++ b/drivers/clk/sunxi-ng/ccu_frac.h @@ -18,7 +18,7 @@ #include "ccu_common.h" -struct _ccu_frac { +struct ccu_frac_internal { u32 enable; u32 select; @@ -33,21 +33,21 @@ struct _ccu_frac { } bool ccu_frac_helper_is_enabled(struct ccu_common *common, - struct _ccu_frac *cf); + struct ccu_frac_internal *cf); void ccu_frac_helper_enable(struct ccu_common *common, - struct _ccu_frac *cf); + struct ccu_frac_internal *cf); void ccu_frac_helper_disable(struct ccu_common *common, - struct _ccu_frac *cf); + struct ccu_frac_internal *cf); bool ccu_frac_helper_has_rate(struct ccu_common *common, - struct _ccu_frac *cf, + struct ccu_frac_internal *cf, unsigned long rate); unsigned long ccu_frac_helper_read_rate(struct ccu_common *common, - struct _ccu_frac *cf); + struct ccu_frac_internal *cf); int ccu_frac_helper_set_rate(struct ccu_common *common, - struct _ccu_frac *cf, + struct ccu_frac_internal *cf, unsigned long rate); #endif /* _CCU_FRAC_H_ */ |