aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu_mux.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-20 23:45:35 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-08-25 22:25:53 +0200
commit89af85253c32b67898c0f8bb06fe6e790e62846f (patch)
treed60557a3fa20e5df3f7a29a88d6b7683fae20ce5 /drivers/clk/sunxi-ng/ccu_mux.h
parentclk: sunxi-ng: nkm: Add mux to support multiple parents (diff)
downloadlinux-dev-89af85253c32b67898c0f8bb06fe6e790e62846f.tar.xz
linux-dev-89af85253c32b67898c0f8bb06fe6e790e62846f.zip
clk: sunxi-ng: mux: Rename mux macro to be consistent
Rename the internal mux macro to be consistent with the other internal structure macros. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_mux.h')
-rw-r--r--drivers/clk/sunxi-ng/ccu_mux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_mux.h b/drivers/clk/sunxi-ng/ccu_mux.h
index d35ce5e93840..83737c2facd4 100644
--- a/drivers/clk/sunxi-ng/ccu_mux.h
+++ b/drivers/clk/sunxi-ng/ccu_mux.h
@@ -21,7 +21,7 @@ struct ccu_mux_internal {
} variable_prediv;
};
-#define SUNXI_CLK_MUX(_shift, _width) \
+#define _SUNXI_CCU_MUX(_shift, _width) \
{ \
.shift = _shift, \
.width = _width, \
@@ -37,7 +37,7 @@ struct ccu_mux {
#define SUNXI_CCU_MUX(_struct, _name, _parents, _reg, _shift, _width, _flags) \
struct ccu_mux _struct = { \
- .mux = SUNXI_CLK_MUX(_shift, _width), \
+ .mux = _SUNXI_CCU_MUX(_shift, _width), \
.common = { \
.reg = _reg, \
.hw.init = CLK_HW_INIT_PARENTS(_name, \
@@ -51,7 +51,7 @@ struct ccu_mux {
_shift, _width, _gate, _flags) \
struct ccu_mux _struct = { \
.enable = _gate, \
- .mux = SUNXI_CLK_MUX(_shift, _width), \
+ .mux = _SUNXI_CCU_MUX(_shift, _width), \
.common = { \
.reg = _reg, \
.hw.init = CLK_HW_INIT_PARENTS(_name, \