android_kernel_xiaomi_sm7250/drivers/slimbus
Srinivas Kandagatla d7e82b903d slimbus: ngd: Fix build error on x86
[ Upstream commit 458a445deb9c9fb13cec46fe9b179a84d2ff514f ]

on non DT platforms like x86 of_match_node is set to NULL, dereferencing
directly would throw an error.
Fix this by doing this in two steps, get the match then the data.

Reported-by: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-13 08:51:54 +01:00
..
core.c
Kconfig
Makefile
messaging.c
qcom-ctrl.c
qcom-ngd-ctrl.c slimbus: ngd: Fix build error on x86 2019-12-13 08:51:54 +01:00
sched.c
slimbus.h
stream.c