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:33:59 +0000 (09:33 +0200)
commit4722f7320a1f8758751da141c81e73a36031f27d
treede4c7eb8cb164de024bc3187f5b349d0ad2f7da1
parent4b345af2be6c2390dc69513017e44518ad639598
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF

[ Upstream commit f3d7c2cdf6dc0d5402ec29c3673893b3542c5ad1 ]

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