summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/lpc18xx_otp.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-11-12 13:25:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 08:44:06 +0100
commit458a445deb9c9fb13cec46fe9b179a84d2ff514f (patch)
treedb3d8ea8586a9395d15b95c0a71f7a6dd1ad6dd0 /drivers/nvmem/lpc18xx_otp.c
parentparport: parport_pc: Mark expected switch fall-through (diff)
downloadlinux-458a445deb9c9fb13cec46fe9b179a84d2ff514f.tar.xz
linux-458a445deb9c9fb13cec46fe9b179a84d2ff514f.zip
slimbus: ngd: Fix build error on x86
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>
Diffstat (limited to 'drivers/nvmem/lpc18xx_otp.c')
0 files changed, 0 insertions, 0 deletions