nxp: ics307_clk: Guard get_board_ddr_clk function correctly
authorTom Rini <trini@konsulko.com>
Tue, 14 Dec 2021 18:36:38 +0000 (13:36 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:18 +0000 (16:20 -0500)
commit0abfcf2fd3067c2622261fbdecdf2a4461f5ac8c
tree62c54bb38cbec0d5827647c4c3dc41f3832f19c4
parent450de19b8009bf92d75f27850d86e0464d23f9d3
nxp: ics307_clk: Guard get_board_ddr_clk function correctly

When we have CONFIG_DYNAMIC_DDR_CLK_FREQ set is the only time we should
have this function, so guard it so that we can include <clock_legacy.h>
in this file later on.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/common/ics307_clk.c