]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 12 Dec 2019 22:53:19 +0000 (23:53 +0100)
committerLukasz Majewski <lukma@denx.de>
Sun, 26 Jan 2020 11:03:06 +0000 (12:03 +0100)
commitefbdad3838c37722c07de0814f07e1b65955d1e7
treec9f4ecfd1ada3f0d05eb3846d3df9d78956f88ca
parent5dcac2b9b3bd14748b68cadd3f855369c8926f05
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: Giulio Benetti <giulio.benetti@benettiengineering.com>
drivers/clk/clk-uclass.c