]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 18:36:01 +0000 (11:36 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 19:19:05 +0000 (12:19 -0700)
commit60c45b39c75d7a1f619aa1c79643053048d21246
tree5e270bb9e65742feb8534c0dbd4b0737227009be
parentf966fe9cae5c2001dd58f5d5e28bbe546f942b97
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF

Use platform data to initialize xtfpga device drivers when CONFIG_USE_OF
is not selected. This fixes xtfpga networking when CONFIG_USE_OF is not
selected but CONFIG_OF is.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/xtfpga/setup.c