linux-stable/drivers/slimbus
Srinivas Kandagatla d7e82b903d slimbus: ngd: Fix build error on x86
[ Upstream commit 458a445deb ]

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 slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
Kconfig slimbus: ngd: Add qcom SLIMBus NGD driver 2018-07-07 17:24:32 +02:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: add slim_alloc/free_txn_tid() 2018-07-07 17:24:32 +02:00
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 slimbus: stream: Fix htmldocs warnings 2018-07-08 15:19:04 +02:00
stream.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00