Browse Source

Merge "refactor(drivers/st/clk): change fdt_get_rcc_node as static" into integration

pull/1981/head
Manish Pandey 3 years ago
committed by TrustedFirmware Code Review
parent
commit
7feb435060
  1. 2
      drivers/st/clk/stm32mp_clkfunc.c
  2. 1
      include/drivers/st/stm32mp_clkfunc.h

2
drivers/st/clk/stm32mp_clkfunc.c

@ -161,7 +161,7 @@ uint32_t fdt_osc_read_uint32_default(enum stm32mp_osc_id osc_id,
* @param fdt: Device tree reference
* @return: Node offset or a negative value on error
*/
int fdt_get_rcc_node(void *fdt)
static int fdt_get_rcc_node(void *fdt)
{
return fdt_node_offset_by_compatible(fdt, -1, DT_RCC_CLK_COMPAT);
}

1
include/drivers/st/stm32mp_clkfunc.h

@ -19,7 +19,6 @@ uint32_t fdt_osc_read_uint32_default(enum stm32mp_osc_id osc_id,
const char *prop_name,
uint32_t dflt_value);
int fdt_get_rcc_node(void *fdt);
int fdt_rcc_read_uint32_array(const char *prop_name, uint32_t count,
uint32_t *array);
int fdt_rcc_subnode_offset(const char *name);

Loading…
Cancel
Save