summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/clkc.h
diff options
context:
space:
mode:
authorAlexander Müller <serveralex@gmail.com>2016-08-27 19:40:53 +0200
committerMichael Turquette <mturquette@baylibre.com>2016-09-01 17:42:41 -0700
commit7ba64d82b35890afa40e7cd6837e657b6185b389 (patch)
treed7ce271b9d342385a02c3f3c126331a13bd5d7c1 /drivers/clk/meson/clkc.h
parent0f32e64b22ab696c50b18afcb428906fbf0308ba (diff)
downloadlinux-7ba64d82b35890afa40e7cd6837e657b6185b389.tar.gz
linux-7ba64d82b35890afa40e7cd6837e657b6185b389.tar.xz
gxbb: clk: Adjust MESON_GATE macro to be shared with meson8b
The macro used gxbb_ prefix for clock definitions. In order to share the macro between gxbb and meson8b, the prefix must be moved to gxbb.c. Signed-off-by: Alexander Müller <serveralex@gmail.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1472319654-59048-6-git-send-email-serveralex@gmail.com
Diffstat (limited to 'drivers/clk/meson/clkc.h')
-rw-r--r--drivers/clk/meson/clkc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/clkc.h b/drivers/clk/meson/clkc.h
index 53326c32e853..9bb70e7a7d6a 100644
--- a/drivers/clk/meson/clkc.h
+++ b/drivers/clk/meson/clkc.h
@@ -98,7 +98,7 @@ struct meson_clk_mpll {
};
#define MESON_GATE(_name, _reg, _bit) \
-struct clk_gate gxbb_##_name = { \
+struct clk_gate _name = { \
.reg = (void __iomem *) _reg, \
.bit_idx = (_bit), \
.lock = &clk_lock, \