kernel-fxtec-pro1x/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 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 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qcom-ngd-ctrl.c slimbus: ngd: Fix build error on x86 2019-12-13 08:51:54 +01:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
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