commit | 6c9108745e713dc31cb456d94c1c52bc1a093d19 | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Thu Dec 12 23:53:19 2019 +0100 |
committer | Lukasz Majewski <lukma@denx.de> | Sun Jan 26 12:03:06 2020 +0100 |
tree | c9f4ecfd1ada3f0d05eb3846d3df9d78956f88ca | |
parent | c179a174554951510a9f10e9c8d893cb4265fa44 [diff] |
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>