Commit 36c1d8c2 authored by Max Filippov's avatar Max Filippov Committed by Zheng Zengkai
Browse files

xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF

stable inclusion
from stable-5.10.76
commit bfef5d826276c59898d7f13303e39f840dd4a49d
bugzilla: 182988 https://gitee.com/openeuler/kernel/issues/I4IAHF

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bfef5d826276c59898d7f13303e39f840dd4a49d



--------------------------------

[ Upstream commit f3d7c2cd ]

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: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 1e51788e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment