Skip to content

Commit

Permalink
clk: imx93: Move IMX93_CLK_END macro to clk driver
Browse files Browse the repository at this point in the history
IMX93_CLK_END was previously defined in imx93-clock.h to indicate
the number of clocks. However, it is not part of the ABI. For starters
it does no really appear in DTS. But what's more important - new clocks
are described later, which contradicts this define in binding header.
So move this macro to clock driver.

Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20241023184651.381265-2-pengfei.li_1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
  • Loading branch information
Pengfei Li authored and Abel Vesa committed Oct 23, 2024
1 parent cf29525 commit 0af18ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/clk/imx/clk-imx93.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include "clk.h"

#define IMX93_CLK_END 202

enum clk_sel {
LOW_SPEED_IO_SEL,
NON_IO_SEL,
Expand Down

0 comments on commit 0af18ba

Please sign in to comment.