Skip to content
Commit efbdad38 authored by Giulio Benetti's avatar Giulio Benetti Committed by Lukasz Majewski
Browse files

clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled



clk_get_by_name() requires clk_get_by_id() that is not available if
CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into #else
condition of #if CONFIG_IS_ENABLED(OF_PLATDATA).

Signed-off-by: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
parent 5dcac2b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment