Skip to content

Commit 4638263

Browse files
superna9999jbrun3t
authored andcommitted
clk: meson: axg-audio: move bindings include to main driver
Now the clock ids are no more defined in private headers, cleanup and include the dt-bindings headers from the main driver file. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230607-topic-amlogic-upstream-clkid-public-migration-v2-19-38172d17c27a@linaro.org Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
1 parent d25ffef commit 4638263

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drivers/clk/meson/axg-audio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include "clk-phase.h"
2222
#include "sclk-div.h"
2323

24+
#include <dt-bindings/clock/axg-audio-clkc.h>
25+
2426
#define AUD_GATE(_name, _reg, _bit, _pname, _iflags) { \
2527
.data = &(struct clk_regmap_gate_data){ \
2628
.offset = (_reg), \

drivers/clk/meson/axg-audio.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,4 @@
6565
#define AUDIO_CLK81_CTRL 0x030
6666
#define AUDIO_CLK81_EN 0x034
6767

68-
/* include the CLKIDs which are part of the DT bindings */
69-
#include <dt-bindings/clock/axg-audio-clkc.h>
70-
7168
#endif /*__AXG_AUDIO_CLKC_H */

0 commit comments

Comments
 (0)