diff mbox series

[1/3] clk: meson: gxbb: remove HHI_GEN_CLK_CTNL duplicate definition

Message ID 20180704165458.24149-2-jbrunet@baylibre.com
State Accepted
Commit 80d396b5118f448cb2206a509aba6917691a835e
Headers show
Series clk: meson: add gen_clk | expand

Commit Message

Jerome Brunet July 4, 2018, 4:54 p.m. UTC
HHI_GEN_CLK_CTNL is defined twice, just remove the duplicate definition

Fixes: 738f66d3211d ("clk: gxbb: add AmLogic GXBB clk controller driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

---
 drivers/clk/meson/gxbb.h | 1 -
 1 file changed, 1 deletion(-)

-- 
2.14.4

Comments

Martin Blumenstingl July 4, 2018, 5:34 p.m. UTC | #1
On Wed, Jul 4, 2018 at 6:55 PM Jerome Brunet <jbrunet@baylibre.com> wrote:
>

> HHI_GEN_CLK_CTNL is defined twice, just remove the duplicate definition

>

> Fixes: 738f66d3211d ("clk: gxbb: add AmLogic GXBB clk controller driver")

> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>


good catch Jerome!
diff mbox series

Patch

diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index ec1a812bf1fd..df6c21d368c6 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -66,7 +66,6 @@ 
 #define HHI_USB_CLK_CNTL		0x220 /* 0x88 offset in data sheet */
 #define HHI_32K_CLK_CNTL		0x224 /* 0x89 offset in data sheet */
 #define HHI_GEN_CLK_CNTL		0x228 /* 0x8a offset in data sheet */
-#define HHI_GEN_CLK_CNTL		0x228 /* 0x8a offset in data sheet */
 
 #define HHI_PCM_CLK_CNTL		0x258 /* 0x96 offset in data sheet */
 #define HHI_NAND_CLK_CNTL		0x25C /* 0x97 offset in data sheet */