]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Oct 2021 07:54:25 +0000 (09:54 +0200)
commit5f0cf60fbeb4c2f01e905e457bc223b34de039d3
tree322da2aebf567c5b057e19991c3e335926396602
parent7a7ce23664560aad6299c9188b6bd9f7078054bc
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF

[ Upstream commit 5318c08985c61a85c8f8f1290311ba7810baa45e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/xtensa/platforms/xtfpga/setup.c