clk: meson: axg-audio: move bindings include to main driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 12 Jun 2023 09:57:36 +0000 (11:57 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 8 Aug 2023 14:06:17 +0000 (16:06 +0200)
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>
drivers/clk/meson/axg-audio.c
drivers/clk/meson/axg-audio.h

index 6917e35..6aca231 100644 (file)
@@ -21,6 +21,8 @@
 #include "clk-phase.h"
 #include "sclk-div.h"
 
+#include <dt-bindings/clock/axg-audio-clkc.h>
+
 #define AUD_GATE(_name, _reg, _bit, _pname, _iflags) {                 \
        .data = &(struct clk_regmap_gate_data){                         \
                .offset = (_reg),                                       \
index faf0874..01a3da1 100644 (file)
@@ -65,7 +65,4 @@
 #define AUDIO_CLK81_CTRL       0x030
 #define AUDIO_CLK81_EN         0x034
 
-/* include the CLKIDs which are part of the DT bindings */
-#include <dt-bindings/clock/axg-audio-clkc.h>
-
 #endif /*__AXG_AUDIO_CLKC_H */